| To: | Jeff Garzik <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | [PATCH 2.6.9 2/5] skge: eliminate a global variable |
| From: | Stephen Hemminger <shemminger@xxxxxxxx> |
| Date: | Mon, 18 Oct 2004 15:19:57 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| Organization: | Open Source Development Lab |
| Sender: | netdev-bounce@xxxxxxxxxxx |
This variable is only defined and used in one file
Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxx>
diff -Nru a/drivers/net/sk98lin/skaddr.c b/drivers/net/sk98lin/skaddr.c
--- a/drivers/net/sk98lin/skaddr.c 2004-10-18 15:08:52 -07:00
+++ b/drivers/net/sk98lin/skaddr.c 2004-10-18 15:08:52 -07:00
@@ -79,7 +79,7 @@
/* 64-bit hash values with all bits set. */
-SK_U16 OnesHash[4] = {0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF};
+static SK_U16 OnesHash[4] = {0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF};
/* local variables
************************************************************/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2.6.9 3/3] tlan: get rid of unneeded global, Stephen Hemminger |
|---|---|
| Next by Date: | [PATCH 2.6.9 2/3] tlan: inline functions should be static + bogus xor, Stephen Hemminger |
| Previous by Thread: | [PATCH 2.6.9 3/3] tlan: get rid of unneeded global, Stephen Hemminger |
| Next by Thread: | [PATCH 2.6.9 2/3] tlan: inline functions should be static + bogus xor, Stephen Hemminger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |