staging: lustre: linux-tcpip.h: remove unused macros
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 06:52:29 +0000 (23:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 06:52:29 +0000 (23:52 -0700)
Some macros are never used, so remove them.

Cc: Andreas Dilger <andreas.dilger@intel.com>
Cc: Oleg Drokin <oleg.drokin@intel.com>
Cc: hpdd-discuss <hpdd-discuss@lists.01.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/linux/linux-tcpip.h

index 31f3deb49a6540dc4c79b53efb334a398f230ee9..441537abec4a0ccb32c0f0c52732c83ba596a0bd 100644 (file)
@@ -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