netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Kill unused macros...
@ 2008-06-17  7:43 David Miller
  2008-06-17 12:10 ` Vlad Yasevich
  0 siblings, 1 reply; 2+ messages in thread
From: David Miller @ 2008-06-17  7:43 UTC (permalink / raw)
  To: vladislav.yasevich; +Cc: linux-sctp, netdev


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 <davem@davemloft.net>
---
 include/net/sctp/sctp.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index 5672d48..17b932b 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -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);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Kill unused macros...
  2008-06-17  7:43 [PATCH] Kill unused macros David Miller
@ 2008-06-17 12:10 ` Vlad Yasevich
  0 siblings, 0 replies; 2+ messages in thread
From: Vlad Yasevich @ 2008-06-17 12:10 UTC (permalink / raw)
  To: David Miller; +Cc: linux-sctp, netdev

David Miller wrote:
> 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 <davem@davemloft.net>

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

> ---
>  include/net/sctp/sctp.h |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
> index 5672d48..17b932b 100644
> --- a/include/net/sctp/sctp.h
> +++ b/include/net/sctp/sctp.h
> @@ -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);
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-17 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-17  7:43 [PATCH] Kill unused macros David Miller
2008-06-17 12:10 ` Vlad Yasevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).