aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-12-21 05:16:10 -0500
committerJoe Perches <joe@perches.com>2010-12-21 05:16:10 -0500
commit215faf9c5f6e319e97edea9e178123e07825c14d (patch)
tree32fb283f64110ad634a37dc2e133cb91a97988c5 /drivers/net/qlge
parent75a84eb5d144dc761e1bb0f7dcacbf2b5cee562c (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/qlge')
-rw-r--r--drivers/net/qlge/qlge_main.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c
index 3af30c452b88..49bfa5813068 100644
--- a/drivers/net/qlge/qlge_main.c
+++ b/drivers/net/qlge/qlge_main.c
@@ -3548,12 +3548,13 @@ err_irq:
3548 3548
3549static int ql_start_rss(struct ql_adapter *qdev) 3549static int ql_start_rss(struct ql_adapter *qdev)
3550{ 3550{
3551 u8 init_hash_seed[] = {0x6d, 0x5a, 0x56, 0xda, 0x25, 0x5b, 0x0e, 0xc2, 3551 static const u8 init_hash_seed[] = {
3552 0x41, 0x67, 0x25, 0x3d, 0x43, 0xa3, 0x8f, 3552 0x6d, 0x5a, 0x56, 0xda, 0x25, 0x5b, 0x0e, 0xc2,
3553 0xb0, 0xd0, 0xca, 0x2b, 0xcb, 0xae, 0x7b, 3553 0x41, 0x67, 0x25, 0x3d, 0x43, 0xa3, 0x8f, 0xb0,
3554 0x30, 0xb4, 0x77, 0xcb, 0x2d, 0xa3, 0x80, 3554 0xd0, 0xca, 0x2b, 0xcb, 0xae, 0x7b, 0x30, 0xb4,
3555 0x30, 0xf2, 0x0c, 0x6a, 0x42, 0xb7, 0x3b, 3555 0x77, 0xcb, 0x2d, 0xa3, 0x80, 0x30, 0xf2, 0x0c,
3556 0xbe, 0xac, 0x01, 0xfa}; 3556 0x6a, 0x42, 0xb7, 0x3b, 0xbe, 0xac, 0x01, 0xfa
3557 };
3557 struct ricb *ricb = &qdev->ricb; 3558 struct ricb *ricb = &qdev->ricb;
3558 int status = 0; 3559 int status = 0;
3559 int i; 3560 int i;