From: eeb Date: Thu, 18 Nov 2004 17:52:55 +0000 (+0000) Subject: * Fixed lonal copyright + unused vars X-Git-Tag: v1_7_0_51~2^7~15 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=39f984661391eeb60cf1076a1a1b2243b93d623b;p=fs%2Flustre-release.git * Fixed lonal copyright + unused vars --- diff --git a/lnet/klnds/lolnd/lolnd.c b/lnet/klnds/lolnd/lolnd.c index 055e002..03c2742 100644 --- a/lnet/klnds/lolnd/lolnd.c +++ b/lnet/klnds/lolnd/lolnd.c @@ -1,32 +1,29 @@ -/* - * Copyright (C) 2002 Cluster File Systems, Inc. - * Author: Eric Barton +/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- + * vim:expandtab:shiftwidth=8:tabstop=8: * - * Copyright (C) 2002, Lawrence Livermore National Labs (LLNL) - * W. Marcus Miller - Based on ksocknal + * Copyright (C) 2004 Cluster File Systems, Inc. * - * This file is part of Portals, http://www.sf.net/projects/lustre/ + * This file is part of Lustre, http://www.lustre.org. * - * Portals is free software; you can redistribute it and/or - * modify it under the terms of version 2 of the GNU General Public - * License as published by the Free Software Foundation. + * Lustre is free software; you can redistribute it and/or + * modify it under the terms of version 2 of the GNU General Public + * License as published by the Free Software Foundation. * - * Portals is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Portals; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Lustre is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License + * along with Lustre; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "lonal.h" nal_t klonal_api; klonal_data_t klonal_data; -ptl_handle_ni_t klonal_ni; +ptl_handle_ni_t klonal_ni; int @@ -49,8 +46,6 @@ klonal_cmd (struct portals_cfg *pcfg, void *private) static void klonal_shutdown(nal_t *nal) { - unsigned long flags; - /* NB The first ref was this module! */ if (nal->nal_refct != 0) return; @@ -90,7 +85,6 @@ klonal_startup (nal_t *nal, ptl_pid_t requested_pid, ptl_ni_limits_t *actual_limits) { int rc; - int i; ptl_process_id_t my_process_id; int pkmem = atomic_read(&portal_kmemory); diff --git a/lnet/klnds/lolnd/lolnd.h b/lnet/klnds/lolnd/lolnd.h index f1675a7..6571dab 100644 --- a/lnet/klnds/lolnd/lolnd.h +++ b/lnet/klnds/lolnd/lolnd.h @@ -1,7 +1,7 @@ /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- * vim:expandtab:shiftwidth=8:tabstop=8: * - * Copyright (C) 2001 Cluster File Systems, Inc. + * Copyright (C) 2004 Cluster File Systems, Inc. * * This file is part of Lustre, http://www.lustre.org. * @@ -17,9 +17,6 @@ * You should have received a copy of the GNU General Public License * along with Lustre; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * Basic library routines. - * */ #ifndef _LONAL_H diff --git a/lnet/klnds/lolnd/lolnd_cb.c b/lnet/klnds/lolnd/lolnd_cb.c index dccc81a..6de9ea4 100644 --- a/lnet/klnds/lolnd/lolnd_cb.c +++ b/lnet/klnds/lolnd/lolnd_cb.c @@ -1,27 +1,22 @@ /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- * vim:expandtab:shiftwidth=8:tabstop=8: * - * Copyright (C) 2002 Cluster File Systems, Inc. - * Author: Eric Barton + * Copyright (C) 2004 Cluster File Systems, Inc. * - * Copyright (C) 2002, Lawrence Livermore National Labs (LLNL) - * W. Marcus Miller - Based on ksocknal + * This file is part of Lustre, http://www.lustre.org. * - * This file is part of Portals, http://www.sf.net/projects/sandiaportals/ + * Lustre is free software; you can redistribute it and/or + * modify it under the terms of version 2 of the GNU General Public + * License as published by the Free Software Foundation. * - * Portals is free software; you can redistribute it and/or - * modify it under the terms of version 2 of the GNU General Public - * License as published by the Free Software Foundation. - * - * Portals is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Portals; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Lustre is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License + * along with Lustre; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "lonal.h"