netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] [SCTP]: Kill unused static inline sctp_sysctl_jiffies_ms
@ 2008-02-29 16:13 Ilpo Järvinen
  2008-02-29 16:13 ` [PATCH 2/2] [LLC]: Kill static inline llc_addrany Ilpo Järvinen
  2008-02-29 17:09 ` [PATCH 1/2] [SCTP]: Kill unused static inline sctp_sysctl_jiffies_ms Vlad Yasevich
  0 siblings, 2 replies; 6+ messages in thread
From: Ilpo Järvinen @ 2008-02-29 16:13 UTC (permalink / raw)
  To: netdev; +Cc: David Miller, Ilpo J�rvinen, Vlad Yasevich

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>
---
 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. */
-- 
1.5.2.2


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

* [PATCH 2/2] [LLC]: Kill static inline llc_addrany
  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 ` Ilpo Järvinen
  2008-02-29 16:28   ` Arnaldo Carvalho de Melo
  2008-02-29 17:09 ` [PATCH 1/2] [SCTP]: Kill unused static inline sctp_sysctl_jiffies_ms Vlad Yasevich
  1 sibling, 1 reply; 6+ messages in thread
From: Ilpo Järvinen @ 2008-02-29 16:13 UTC (permalink / raw)
  To: netdev; +Cc: David Miller, Ilpo J�rvinen, Arnaldo Carvalho de Melo

After the patch:
$ git-grep llc_addrany | wc -l
0

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
---
 include/net/llc_if.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/include/net/llc_if.h b/include/net/llc_if.h
index c608812..b595a00 100644
--- a/include/net/llc_if.h
+++ b/include/net/llc_if.h
@@ -74,11 +74,6 @@ static inline int llc_mac_null(const u8 *mac)
 	return is_zero_ether_addr(mac);
 }
 
-static inline int llc_addrany(const struct llc_addr *addr)
-{
-	return llc_mac_null(addr->mac) && !addr->lsap;
-}
-
 static inline int llc_mac_multicast(const u8 *mac)
 {
 	return is_multicast_ether_addr(mac);
-- 
1.5.2.2


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

* Re: [PATCH 2/2] [LLC]: Kill static inline llc_addrany
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Arnaldo Carvalho de Melo @ 2008-02-29 16:28 UTC (permalink / raw)
  To: Ilpo Järvinen; +Cc: netdev, David Miller

Em Fri, Feb 29, 2008 at 06:13:16PM +0200, Ilpo Järvinen escreveu:
> After the patch:
> $ git-grep llc_addrany | wc -l
> 0
> 
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
> Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>


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

* Re: [PATCH 1/2] [SCTP]: Kill unused static inline sctp_sysctl_jiffies_ms
  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 17:09 ` Vlad Yasevich
  2008-02-29 19:45   ` David Miller
  1 sibling, 1 reply; 6+ messages in thread
From: Vlad Yasevich @ 2008-02-29 17:09 UTC (permalink / raw)
  To: Ilpo Järvinen; +Cc: netdev, David Miller

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. */


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

* Re: [PATCH 1/2] [SCTP]: Kill unused static inline sctp_sysctl_jiffies_ms
  2008-02-29 17:09 ` [PATCH 1/2] [SCTP]: Kill unused static inline sctp_sysctl_jiffies_ms Vlad Yasevich
@ 2008-02-29 19:45   ` David Miller
  0 siblings, 0 replies; 6+ messages in thread
From: David Miller @ 2008-02-29 19:45 UTC (permalink / raw)
  To: vladislav.yasevich; +Cc: ilpo.jarvinen, netdev

From: Vlad Yasevich <vladislav.yasevich@hp.com>
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 <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>

Applied to net-2.6.26, thanks everyone.

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

* Re: [PATCH 2/2] [LLC]: Kill static inline llc_addrany
  2008-02-29 16:28   ` Arnaldo Carvalho de Melo
@ 2008-02-29 19:46     ` David Miller
  0 siblings, 0 replies; 6+ messages in thread
From: David Miller @ 2008-02-29 19:46 UTC (permalink / raw)
  To: acme; +Cc: ilpo.jarvinen, netdev

From: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Fri, 29 Feb 2008 13:28:33 -0300

> Em Fri, Feb 29, 2008 at 06:13:16PM +0200, Ilpo Järvinen escreveu:
> > After the patch:
> > $ git-grep llc_addrany | wc -l
> > 0
> > 
> > Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
> > Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>

Also applied, thanks.

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

end of thread, other threads:[~2008-02-29 19:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 1/2] [SCTP]: Kill unused static inline sctp_sysctl_jiffies_ms Vlad Yasevich
2008-02-29 19:45   ` David Miller

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).