From: Vlad Yasevich <vladislav.yasevich@hp.com>
To: "Ilpo Järvinen" <ilpo.jarvinen@helsinki.fi>
Cc: netdev@vger.kernel.org, David Miller <davem@davemloft.net>
Subject: Re: [PATCH 1/2] [SCTP]: Kill unused static inline sctp_sysctl_jiffies_ms
Date: Fri, 29 Feb 2008 12:09:45 -0500 [thread overview]
Message-ID: <47C83C59.9000304@hp.com> (raw)
In-Reply-To: <1204301596-15568-1-git-send-email-ilpo.jarvinen@helsinki.fi>
Ilpo Järvinen wrote:
> After the patch:
> $ git-grep sctp_sysctl_jiffies_ms | wc -l
> 0
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
> Cc: Vlad Yasevich <vladislav.yasevich@hp.com>
Good catch. Looks like dead declaration.
Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com>
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. */
next prev parent reply other threads:[~2008-02-29 17:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-29 16:13 [PATCH 1/2] [SCTP]: Kill unused static inline sctp_sysctl_jiffies_ms Ilpo Järvinen
2008-02-29 16:13 ` [PATCH 2/2] [LLC]: Kill static inline llc_addrany Ilpo Järvinen
2008-02-29 16:28 ` Arnaldo Carvalho de Melo
2008-02-29 19:46 ` David Miller
2008-02-29 17:09 ` Vlad Yasevich [this message]
2008-02-29 19:45 ` [PATCH 1/2] [SCTP]: Kill unused static inline sctp_sysctl_jiffies_ms David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47C83C59.9000304@hp.com \
--to=vladislav.yasevich@hp.com \
--cc=davem@davemloft.net \
--cc=ilpo.jarvinen@helsinki.fi \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).