From: Colin Ian King Date: Mon, 24 Apr 2017 17:04:18 +0000 (+0100) Subject: scsi: fcoe: make fcoe_e_d_tov and fcoe_r_a_tov static X-Git-Tag: v4.12-rc1~99^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=62d57f20ff6d9715c5d7605c5b6b1a2e6f4fbbd8;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Johannes Thumshirn Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index ab7bc1505e0b1..90939f66bc0d7 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");