aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2014-07-11 23:52:29 -0700
committerGreg Kroah-Hartman <[email protected]>2014-07-11 23:52:29 -0700
commite12517f34bc71dce87465bf8336d91c813dad704 (patch)
tree866ce0bd7f45132b064038e5beb9c4ff4270f94f
parent490e7dd4f975f6a415b39cd2843eb1f4f663116f (diff)
staging: lustre: linux-tcpip.h: remove unused macros
Some macros are never used, so remove them. Cc: Andreas Dilger <[email protected]> Cc: Oleg Drokin <[email protected]> Cc: hpdd-discuss <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/linux/linux-tcpip.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/linux-tcpip.h b/drivers/staging/lustre/include/linux/libcfs/linux/linux-tcpip.h
index 31f3deb49a65..441537abec4a 100644
--- a/drivers/staging/lustre/include/linux/libcfs/linux/linux-tcpip.h
+++ b/drivers/staging/lustre/include/linux/libcfs/linux/linux-tcpip.h
@@ -47,7 +47,6 @@
#include <net/sock.h>
-#define SOCK_SNDBUF(so) ((so)->sk->sk_sndbuf)
#define SOCK_TEST_NOSPACE(so) test_bit(SOCK_NOSPACE, &(so)->flags)
static inline int
@@ -64,6 +63,4 @@ cfs_sock_wmem_queued(struct socket *sock)
#define cfs_sk_sleep(sk) sk_sleep(sk)
-#define DEFAULT_NET (&init_net)
-
#endif