projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52499d2
)
net: sealevel: remove redundant initialization for statics
author
Peng Li
<lipeng321@huawei.com>
Sun, 30 May 2021 06:24:30 +0000
(14:24 +0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Tue, 1 Jun 2021 05:14:03 +0000
(22:14 -0700)
Should not initialise statics to false.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wan/sealevel.c
patch
|
blob
|
history
diff --git
a/drivers/net/wan/sealevel.c
b/drivers/net/wan/sealevel.c
index be618fd0b9a8437ce2ded08f64e8412f277bc9e8..d19e9024865fe180e5c8bfa7d2b54982b720cd25 100644
(file)
--- a/
drivers/net/wan/sealevel.c
+++ b/
drivers/net/wan/sealevel.c
@@
-351,7
+351,7
@@
static int io = 0x238;
static int txdma = 1;
static int rxdma = 3;
static int irq = 5;
-static bool slow
=false
;
+static bool slow;
module_param_hw(io, int, ioport, 0);
MODULE_PARM_DESC(io, "The I/O base of the Sealevel card");