mirror of https://gitee.com/openkylin/linux.git
staging: lustre: linux-tcpip.h: remove unused macros
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>
This commit is contained in:
parent
490e7dd4f9
commit
e12517f34b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue