summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe/fcoe.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-04-24 18:04:18 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-04-25 13:00:59 -0400
commit62d57f20ff6d9715c5d7605c5b6b1a2e6f4fbbd8 (patch)
treee6b94e68112f827d4384536d570d71faf7ec5f92 /drivers/scsi/fcoe/fcoe.c
parent868ed5a5b73f7cc18432ffe6e8d8addd395e91a1 (diff)
downloadop-kernel-dev-62d57f20ff6d9715c5d7605c5b6b1a2e6f4fbbd8.zip
op-kernel-dev-62d57f20ff6d9715c5d7605c5b6b1a2e6f4fbbd8.tar.gz
scsi: fcoe: make fcoe_e_d_tov and fcoe_r_a_tov static
These module parameter variables don't need global scope, make them static Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fcoe/fcoe.c')
-rw-r--r--drivers/scsi/fcoe/fcoe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c
index ab7bc15..90939f6 100644
--- a/drivers/scsi/fcoe/fcoe.c
+++ b/drivers/scsi/fcoe/fcoe.c
@@ -63,11 +63,11 @@ unsigned int fcoe_debug_logging;
module_param_named(debug_logging, fcoe_debug_logging, int, S_IRUGO|S_IWUSR);
MODULE_PARM_DESC(debug_logging, "a bit mask of logging levels");
-unsigned int fcoe_e_d_tov = 2 * 1000;
+static unsigned int fcoe_e_d_tov = 2 * 1000;
module_param_named(e_d_tov, fcoe_e_d_tov, int, S_IRUGO|S_IWUSR);
MODULE_PARM_DESC(e_d_tov, "E_D_TOV in ms, default 2000");
-unsigned int fcoe_r_a_tov = 2 * 2 * 1000;
+static unsigned int fcoe_r_a_tov = 2 * 2 * 1000;
module_param_named(r_a_tov, fcoe_r_a_tov, int, S_IRUGO|S_IWUSR);
MODULE_PARM_DESC(r_a_tov, "R_A_TOV in ms, default 4000");
OpenPOWER on IntegriCloud