Subject: Re: [PATCH 1/2] [SCTP]: Kill unused static inline sctp_sysctl_jiffies_ms

From: Vlad Yasevich <[email-masked]>
Date: Fri, 29 Feb 2008 12:09:45 -0500

Ilpo Järvinen wrote:
> After the patch:
> $ git-grep sctp_sysctl_jiffies_ms | wc -l
> 0
> 
> Signed-off-by: Ilpo Järvinen <[email-masked]>
> Cc: Vlad Yasevich <[email-masked]>

Good catch.  Looks like dead declaration.

Acked-by: Vlad Yasevich <[email-masked]>

Thanks
-vlad

> ---
>  include/net/sctp/sctp.h |    5 -----
>  1 files changed, 0 insertions(+), 5 deletions(-)
> 
> diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
> index 57df27f..a653eb3 100644
> --- a/include/net/sctp/sctp.h
> +++ b/include/net/sctp/sctp.h
> @@ -368,11 +368,6 @@ void sctp_sysctl_unregister(void);
>  #else
>  static inline void sctp_sysctl_register(void) { return; }
>  static inline void sctp_sysctl_unregister(void) { return; }
> -static inline int sctp_sysctl_jiffies_ms(ctl_table *table, int __user *name, int nlen,
> -		void __user *oldval, size_t __user *oldlenp,
> -		void __user *newval, size_t newlen) {
> -	return -ENOSYS;
> -}
>  #endif
>  
>  /* Size of Supported Address Parameter for 'x' address types. */