From 9cb4e3fcfdd314cff77b89e36cb7138f4e409c41 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Tue, 2 Sep 2014 10:26:22 -0400 Subject: [PATCH] LU-3963 libcfs: Delete empty source files for linux layer Some of the files in libcfs/libcfs/linux are actually empty. Remove them. Change-Id: Ic49d3bea7777488ab51fdcdc1f93ed516654c665 Signed-off-by: James Simmons Reviewed-on: http://review.whamcloud.com/11725 Reviewed-by: Dmitry Eremin Tested-by: Jenkins Reviewed-by: John L. Hammond Tested-by: Maloo Reviewed-by: Nathaniel Clark Reviewed-by: Oleg Drokin --- libcfs/libcfs/Makefile.in | 2 +- libcfs/libcfs/linux/Makefile.am | 4 ++-- libcfs/libcfs/linux/linux-lock.c | 38 -------------------------------------- libcfs/libcfs/linux/linux-sync.c | 35 ----------------------------------- 4 files changed, 3 insertions(+), 76 deletions(-) delete mode 100644 libcfs/libcfs/linux/linux-lock.c delete mode 100644 libcfs/libcfs/linux/linux-sync.c diff --git a/libcfs/libcfs/Makefile.in b/libcfs/libcfs/Makefile.in index bc241e7..246c773 100644 --- a/libcfs/libcfs/Makefile.in +++ b/libcfs/libcfs/Makefile.in @@ -2,7 +2,7 @@ MODULES = libcfs libcfs-linux-objs := linux-tracefile.o linux-debug.o libcfs-linux-objs += linux-prim.o linux-mem.o linux-cpu.o -libcfs-linux-objs += linux-fs.o linux-sync.o linux-tcpip.o +libcfs-linux-objs += linux-fs.o linux-tcpip.o libcfs-linux-objs += linux-proc.o linux-curproc.o libcfs-linux-objs += linux-utils.o linux-module.o libcfs-linux-objs += linux-crypto.o linux-crypto-adler.o diff --git a/libcfs/libcfs/linux/Makefile.am b/libcfs/libcfs/linux/Makefile.am index 7c36a72..b355a30 100644 --- a/libcfs/libcfs/linux/Makefile.am +++ b/libcfs/libcfs/linux/Makefile.am @@ -1,6 +1,6 @@ EXTRA_DIST = linux-debug.c linux-prim.c linux-tracefile.c \ - linux-fs.c linux-mem.c linux-proc.c linux-utils.c linux-lock.c \ - linux-module.c linux-sync.c linux-curproc.c linux-tcpip.c \ + linux-fs.c linux-mem.c linux-proc.c linux-utils.c \ + linux-module.c linux-curproc.c linux-tcpip.c \ linux-cpu.c linux-crypto.c linux-crypto-crc32.c linux-crypto-adler.c \ linux-crypto-crc32pclmul.c linux-crypto-crc32c-pclmul.c \ crc32-pclmul_asm.S crc32c-pcl-intel-asm_64.S inst.h diff --git a/libcfs/libcfs/linux/linux-lock.c b/libcfs/libcfs/linux/linux-lock.c deleted file mode 100644 index d116edf..0000000 --- a/libcfs/libcfs/linux/linux-lock.c +++ /dev/null @@ -1,38 +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) 2008, 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. - */ - -# define DEBUG_SUBSYSTEM S_LNET - -#include -#include diff --git a/libcfs/libcfs/linux/linux-sync.c b/libcfs/libcfs/linux/linux-sync.c deleted file mode 100644 index a304347..0000000 --- a/libcfs/libcfs/linux/linux-sync.c +++ /dev/null @@ -1,35 +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) 2008, 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. - */ - -# define DEBUG_SUBSYSTEM S_LNET -- 1.8.3.1