diff options
author | Sony Chacko <sony.chacko@qlogic.com> | 2010-08-19 07:08:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-20 01:52:38 +0200 |
commit | 251b036a22f530aff26cf70f5cdb0cf64a072e46 (patch) | |
tree | 1e4aba3bedbd87c0ff1f9e0365d6888f41bc0a14 /drivers/net/qlcnic/qlcnic_main.c | |
parent | qlcnic: remove unused code (diff) | |
download | linux-251b036a22f530aff26cf70f5cdb0cf64a072e46.tar.xz linux-251b036a22f530aff26cf70f5cdb0cf64a072e46.zip |
qlcnic: replace magic numbers with defines
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_main.c')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_main.c b/drivers/net/qlcnic/qlcnic_main.c index beadf2e41130..c6f19c961c3d 100644 --- a/drivers/net/qlcnic/qlcnic_main.c +++ b/drivers/net/qlcnic/qlcnic_main.c @@ -754,7 +754,7 @@ qlcnic_check_options(struct qlcnic_adapter *adapter) adapter->num_txd = MAX_CMD_DESCRIPTORS; - adapter->max_rds_rings = 2; + adapter->max_rds_rings = MAX_RDS_RINGS; } static int |