From: Peng Tao Date: Fri, 29 Mar 2013 02:49:56 +0000 (+0800) Subject: LU-2335 lnet: remove empty file lnet/lnet/api-errno.c X-Git-Tag: 2.4.51~2 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=16b0909b8c0b4893774f3125f78dd7864c6129f5 LU-2335 lnet: remove empty file lnet/lnet/api-errno.c The file is empty. We can just remove it. Signed-off-by: Peng Tao Change-Id: I7d46874dde5581d48ea582031df0f33a937870da Reviewed-on: http://review.whamcloud.com/5880 Tested-by: Hudson Reviewed-by: Liang Zhen Tested-by: Maloo Reviewed-by: Li Wei Reviewed-by: Isaac Huang Reviewed-by: Oleg Drokin --- diff --git a/lnet/lnet/Makefile.in b/lnet/lnet/Makefile.in index 498abfc..8187b17 100644 --- a/lnet/lnet/Makefile.in +++ b/lnet/lnet/Makefile.in @@ -1,6 +1,6 @@ MODULES := lnet -lnet-objs := api-errno.o api-ni.o config.o +lnet-objs := api-ni.o config.o lnet-objs += lib-me.o lib-msg.o lib-eq.o lib-md.o lib-ptl.o lnet-objs += lib-move.o module.o lo.o lnet-objs += router.o router_proc.o acceptor.o peer.o diff --git a/lnet/lnet/api-errno.c b/lnet/lnet/api-errno.c deleted file mode 100644 index 695b272..0000000 --- a/lnet/lnet/api-errno.c +++ /dev/null @@ -1,39 +0,0 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * as published by the Free Software Foundation. - * - * This program 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf - * - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, - * CA 95054 USA or visit www.sun.com if you need additional information or - * have any questions. - * - * GPL HEADER END - */ -/* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. - * Use is subject to license terms. - */ -/* - * This file is part of Lustre, http://www.lustre.org/ - * Lustre is a trademark of Sun Microsystems, Inc. - * - * lnet/lnet/api-errno.c - * - * Instantiate the string table of errors - */ - -/* If you change these, you must update the number table in portals/errno.h */ diff --git a/lnet/lnet/autoMakefile.am b/lnet/lnet/autoMakefile.am index 86682f1..6978319 100644 --- a/lnet/lnet/autoMakefile.am +++ b/lnet/lnet/autoMakefile.am @@ -1,4 +1,4 @@ -my_sources = api-errno.c api-ni.c config.c \ +my_sources = api-ni.c config.c \ lib-me.c lib-msg.c lib-eq.c \ lib-md.c lib-ptl.c lib-move.c lo.c \ router.c router_proc.c \ @@ -21,7 +21,7 @@ endif # LINUX if DARWIN macos_PROGRAMS = lnet -lnet_SOURCES = api-errno.c api-ni.c config.c +lnet_SOURCES = api-ni.c config.c lnet_SOURCES += lib-me.c lib-msg.c lib-eq.c lib-md.c lnet_SOURCES += lib-move.c module.c lo.c router.c router_proc.c lnet_SOURCES += acceptor.c peer.c