diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-01-25 12:11:19 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-01-30 16:06:22 -0500 |
commit | 45678b6b7891b8eef5b5951415287d1fa0ff71ad (patch) | |
tree | b9e6e1c22d890d024f85b346868db00fc66f4ab9 | |
parent | 67f091f290d055441db28045703d9b075a2ae051 (diff) |
iser-target: Fix sparse warning
isert_debug_level should be static, hence no need
to initialize it.
Reported-by: Shachar Raindel <raindel@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
-rw-r--r-- | drivers/infiniband/ulp/isert/ib_isert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c index dafb3c531f96..29adca121238 100644 --- a/drivers/infiniband/ulp/isert/ib_isert.c +++ b/drivers/infiniband/ulp/isert/ib_isert.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #define ISER_MAX_CQ_LEN (ISER_MAX_RX_CQ_LEN + ISER_MAX_TX_CQ_LEN + \ | 38 | #define ISER_MAX_CQ_LEN (ISER_MAX_RX_CQ_LEN + ISER_MAX_TX_CQ_LEN + \ |
39 | ISERT_MAX_CONN) | 39 | ISERT_MAX_CONN) |
40 | 40 | ||
41 | int isert_debug_level = 0; | 41 | static int isert_debug_level; |
42 | module_param_named(debug_level, isert_debug_level, int, 0644); | 42 | module_param_named(debug_level, isert_debug_level, int, 0644); |
43 | MODULE_PARM_DESC(debug_level, "Enable debug tracing if > 0 (default:0)"); | 43 | MODULE_PARM_DESC(debug_level, "Enable debug tracing if > 0 (default:0)"); |
44 | 44 | ||