diff options
author | Joe Perches <joe@perches.com> | 2010-12-21 05:16:10 -0500 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2010-12-21 05:16:10 -0500 |
commit | 215faf9c5f6e319e97edea9e178123e07825c14d (patch) | |
tree | 32fb283f64110ad634a37dc2e133cb91a97988c5 /drivers/net/pcmcia/nmclan_cs.c | |
parent | 75a84eb5d144dc761e1bb0f7dcacbf2b5cee562c (diff) |
drivers/net/*/: Use static const
Using static const generally increases object text and decreases data size.
It also generally decreases overall object size.
Signed-off-by: Joe Perches <joe@perches.com>
Diffstat (limited to 'drivers/net/pcmcia/nmclan_cs.c')
-rw-r--r-- | drivers/net/pcmcia/nmclan_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/nmclan_cs.c b/drivers/net/pcmcia/nmclan_cs.c index 0a2b0f9cdf33..76683d97d83b 100644 --- a/drivers/net/pcmcia/nmclan_cs.c +++ b/drivers/net/pcmcia/nmclan_cs.c | |||
@@ -1291,7 +1291,7 @@ updateCRC | |||
1291 | 1291 | ||
1292 | static void updateCRC(int *CRC, int bit) | 1292 | static void updateCRC(int *CRC, int bit) |
1293 | { | 1293 | { |
1294 | int poly[]={ | 1294 | static const int poly[]={ |
1295 | 1,1,1,0, 1,1,0,1, | 1295 | 1,1,1,0, 1,1,0,1, |
1296 | 1,0,1,1, 1,0,0,0, | 1296 | 1,0,1,1, 1,0,0,0, |
1297 | 1,0,0,0, 0,0,1,1, | 1297 | 1,0,0,0, 0,0,1,1, |