projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94db13f
)
atm:he - Do not initialise statics to 0.
author
Shailendra Verma
<shailendra.capricorn@gmail.com>
Thu, 4 Jun 2015 14:41:00 +0000
(20:11 +0530)
committer
David S. Miller
<davem@davemloft.net>
Thu, 4 Jun 2015 22:43:10 +0000
(15:43 -0700)
According to <stdbool.h> false is always '0' and
Static variables are initialised to 0 by GCC.
Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/he.c
patch
|
blob
|
history
diff --git
a/drivers/atm/he.c
b/drivers/atm/he.c
index
0237271
..
a8da3a5
100644
(file)
--- a/
drivers/atm/he.c
+++ b/
drivers/atm/he.c
@@
-117,7
+117,7
@@
static short nvpibits = -1;
static short nvcibits = -1;
static short rx_skb_reserve = 16;
static bool irq_coalesce = true;
-static bool sdh
= 0
;
+static bool sdh;
/* Read from EEPROM = 0000 0011b */
static unsigned int readtab[] = {