Kill unused macros...
Subsystems (3)
David Miller
maintainerPATCH 1/1 Kill unused macros...
I noticed this while working on something unrelated in the net-next-2.6 tree, applied and pushed to kernel.org
sctp: Kill SCTP_SOCK_SLEEP_{PRE,POST}, unused.
Signed-off-by David S. Miller <[email protected]>
--- include/net/sctp/sctp.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
include/net/sctp/sctp.h +0 -2
@@ -220,8 +220,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly;#define sctp_release_sock (sk) release_sock(sk)#define sctp_bh_lock_sock (sk) bh_lock_sock(sk)#define sctp_bh_unlock_sock (sk) bh_unlock_sock(sk) -#define SCTP_SOCK_SLEEP_PRE (sk) SOCK_SLEEP_PRE(sk) -#define SCTP_SOCK_SLEEP_POST (sk) SOCK_SLEEP_POST(sk)/* SCTP SNMP MIB stats handlers */ DECLARE_SNMP_STAT(struct sctp_mib, sctp_statistics);
Quoted 6 lines · David Miller
I noticed this while working on something unrelated in the net-next-2.6 tree, applied and pushed to kernel.org
sctp: Kill SCTP_SOCK_SLEEP_{PRE,POST}, unused.
Signed-off-by David S. Miller <[email protected]>
OK, thanks. It looks like there were supposed to be part of some debug output that didn't get fully removed first time around.
-vlad
Quoted 18 lines
--- include/net/sctp/sctp.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)include/net/sctp/sctp.h +0
-2@@ -220,8 +220,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly;#define sctp_release_sock (sk) release_sock(sk)#define sctp_bh_lock_sock (sk) bh_lock_sock(sk)#define sctp_bh_unlock_sock (sk) bh_unlock_sock(sk) -#define SCTP_SOCK_SLEEP_PRE (sk) SOCK_SLEEP_PRE(sk) -#define SCTP_SOCK_SLEEP_POST (sk) SOCK_SLEEP_POST(sk)/* SCTP SNMP MIB stats handlers */ DECLARE_SNMP_STAT(struct sctp_mib, sctp_statistics);