LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] atm/idt77252.c: make 2 functions static
@ 2008-03-30 23:12 Adrian Bunk
2008-04-01 2:36 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2008-03-30 23:12 UTC (permalink / raw)
To: chas, jgarzik; +Cc: netdev, linux-kernel
This patch makes the following needlessly global functions static:
- idt77252_send()
- idt77252_dev_close()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
This patch has been sent on:
- 1 Mar 2008
drivers/atm/idt77252.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
36dff5da01d6548a345e7d9a115ee3121df95591 foobar
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c
index eee54c0..9e94b64 100644
--- a/drivers/atm/idt77252.c
+++ b/drivers/atm/idt77252.c
@@ -2016,8 +2016,7 @@ idt77252_send_skb(struct atm_vcc *vcc, struct sk_buff *skb, int oam)
return 0;
}
-int
-idt77252_send(struct atm_vcc *vcc, struct sk_buff *skb)
+static int idt77252_send(struct atm_vcc *vcc, struct sk_buff *skb)
{
return idt77252_send_skb(vcc, skb, 0);
}
@@ -3072,8 +3071,7 @@ idt77252_dev_open(struct idt77252_dev *card)
return 0;
}
-void
-idt77252_dev_close(struct atm_dev *dev)
+static void idt77252_dev_close(struct atm_dev *dev)
{
struct idt77252_dev *card = dev->dev_data;
u32 conf;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [2.6 patch] atm/idt77252.c: make 2 functions static
2008-03-30 23:12 [2.6 patch] atm/idt77252.c: make 2 functions static Adrian Bunk
@ 2008-04-01 2:36 ` David Miller
0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2008-04-01 2:36 UTC (permalink / raw)
To: bunk; +Cc: chas, jgarzik, netdev, linux-kernel
From: Adrian Bunk <bunk@kernel.org>
Date: Mon, 31 Mar 2008 02:12:16 +0300
> This patch makes the following needlessly global functions static:
> - idt77252_send()
> - idt77252_dev_close()
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [2.6 patch] atm/idt77252.c: make 2 functions static
@ 2008-03-01 16:23 Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-03-01 16:23 UTC (permalink / raw)
To: chas, jgarzik; +Cc: netdev, linux-kernel
This patch makes the following needlessly global functions static:
- idt77252_send()
- idt77252_dev_close()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
drivers/atm/idt77252.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
36dff5da01d6548a345e7d9a115ee3121df95591 foobar
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c
index eee54c0..9e94b64 100644
--- a/drivers/atm/idt77252.c
+++ b/drivers/atm/idt77252.c
@@ -2016,8 +2016,7 @@ idt77252_send_skb(struct atm_vcc *vcc, struct sk_buff *skb, int oam)
return 0;
}
-int
-idt77252_send(struct atm_vcc *vcc, struct sk_buff *skb)
+static int idt77252_send(struct atm_vcc *vcc, struct sk_buff *skb)
{
return idt77252_send_skb(vcc, skb, 0);
}
@@ -3072,8 +3071,7 @@ idt77252_dev_open(struct idt77252_dev *card)
return 0;
}
-void
-idt77252_dev_close(struct atm_dev *dev)
+static void idt77252_dev_close(struct atm_dev *dev)
{
struct idt77252_dev *card = dev->dev_data;
u32 conf;
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-01 2:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-30 23:12 [2.6 patch] atm/idt77252.c: make 2 functions static Adrian Bunk
2008-04-01 2:36 ` David Miller
-- strict thread matches above, loose matches on Subject: below --
2008-03-01 16:23 Adrian Bunk
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).