staging: lustre: lnet: delete lnet.h
authorJames Simmons <jsimmons@infradead.org>
Sun, 20 Aug 2017 02:26:29 +0000 (22:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2017 01:36:50 +0000 (18:36 -0700)
The header lnet.h is just a bunch of headers included in
a header. Just delete it and include the appropriate
headers where needed.

Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6245
Reviewed-on: https://review.whamcloud.com/28089
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/lnet/lib-lnet.h
drivers/staging/lustre/include/linux/lnet/lnet.h [deleted file]
drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h
drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h
drivers/staging/lustre/lnet/libcfs/module.c
drivers/staging/lustre/lnet/lnet/nidstrings.c
drivers/staging/lustre/lnet/selftest/conrpc.h
drivers/staging/lustre/lnet/selftest/console.h
drivers/staging/lustre/lnet/selftest/selftest.h

index f534115d402af071740044778c6bbf40babbdb81..9b923ec36f52ed76217f5bccb4032d15eb17d6d6 100644 (file)
 
 #include "../libcfs/libcfs.h"
 #include "api.h"
-#include "lnet.h"
 #include "lib-types.h"
 #include "lib-dlc.h"
+#include "types.h"
+#include "lnetctl.h"
+#include "nidstr.h"
 
 extern struct lnet the_lnet;   /* THE network */
 
diff --git a/drivers/staging/lustre/include/linux/lnet/lnet.h b/drivers/staging/lustre/include/linux/lnet/lnet.h
deleted file mode 100644 (file)
index 5d1559a..0000000
+++ /dev/null
@@ -1,44 +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.gnu.org/licenses/gpl-2.0.html
- *
- * GPL HEADER END
- */
-/*
- * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
- * Use is subject to license terms.
- *
- * Copyright (c) 2012 - 2015, Intel Corporation.
- */
-/*
- * This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Seagate, Inc.
- */
-
-#ifndef __LNET_H__
-#define __LNET_H__
-
-/*
- * lnet.h
- *
- * User application interface file
- */
-#include "types.h"
-#include "nidstr.h"
-
-#endif
index 16e437b3ad1ea7f5582bbd86b40b60c30d76da1f..8e595060f1aef9ddba9b9d371e241fd02de700ce 100644 (file)
@@ -64,7 +64,6 @@
 #define DEBUG_SUBSYSTEM S_LND
 
 #include "../../../include/linux/libcfs/libcfs.h"
-#include "../../../include/linux/lnet/lnet.h"
 #include "../../../include/linux/lnet/lib-lnet.h"
 
 #define IBLND_PEER_HASH_SIZE           101     /* # peer lists */
index 9eb169da2c2fa1ab3f117408731872fe6b9115c8..88afe0981a1f8a46e47bfadbb1bfeae178c6ea6a 100644 (file)
@@ -47,7 +47,6 @@
 #include <net/tcp.h>
 
 #include "../../../include/linux/libcfs/libcfs.h"
-#include "../../../include/linux/lnet/lnet.h"
 #include "../../../include/linux/lnet/lib-lnet.h"
 #include "../../../include/linux/lnet/socklnd.h"
 
index c388550c2d10e64c96949dcb1834ad52a70621a4..9ece8694ec4c37ff1465f9ea8976b6713af14626 100644 (file)
@@ -56,7 +56,6 @@
 #include "../../include/linux/libcfs/libcfs_crypto.h"
 #include "../../include/linux/lnet/lib-lnet.h"
 #include "../../include/linux/lnet/lib-dlc.h"
-#include "../../include/linux/lnet/lnet.h"
 #include "tracefile.h"
 
 static struct dentry *lnet_debugfs_root;
index 298533d7b04c2d787bd6f565e14a96ba00461ea0..cbbd11f06b8c6375e7d8a9b76e68a7cc62633924 100644 (file)
@@ -37,7 +37,7 @@
 #define DEBUG_SUBSYSTEM S_LNET
 
 #include "../../include/linux/libcfs/libcfs.h"
-#include "../../include/linux/lnet/lnet.h"
+#include "../../include/linux/lnet/nidstr.h"
 
 /* max value for numeric network address */
 #define MAX_NUMERIC_VALUE 0xffffffff
index 7141d2c902a50604cf982b44e921be16aea746e3..e2a78b6f6f7fd865e2ad7fdd0490e5a3753d445c 100644 (file)
@@ -40,7 +40,6 @@
 #define __LST_CONRPC_H__
 
 #include "../../include/linux/libcfs/libcfs.h"
-#include "../../include/linux/lnet/lnet.h"
 #include "../../include/linux/lnet/lib-types.h"
 #include "../../include/linux/lnet/lnetst.h"
 #include "rpc.h"
index e3e11aa5252671170fc4ffe83b945acba987d6fe..0a9ba06323f4041a3157265ae461d71f507957eb 100644 (file)
@@ -40,7 +40,6 @@
 #define __LST_CONSOLE_H__
 
 #include "../../include/linux/libcfs/libcfs.h"
-#include "../../include/linux/lnet/lnet.h"
 #include "../../include/linux/lnet/lib-types.h"
 #include "../../include/linux/lnet/lnetst.h"
 #include "selftest.h"
index b614e6f23a702413364e2cedd319ebdd37d7e93c..bfa4971a7a989dc79b7bf1e92519ea59a750f90e 100644 (file)
@@ -39,7 +39,6 @@
 #define LNET_ONLY
 
 #include "../../include/linux/libcfs/libcfs.h"
-#include "../../include/linux/lnet/lnet.h"
 #include "../../include/linux/lnet/lib-lnet.h"
 #include "../../include/linux/lnet/lib-types.h"
 #include "../../include/linux/lnet/lnetst.h"