summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShailendra Verma <shailendra.capricorn@gmail.com>2015-06-04 16:41:00 +0200
committerDavid S. Miller <davem@davemloft.net>2015-06-05 00:43:10 +0200
commitffaa31d7945f14edb04d7b2792a1dbd3a854a2bc (patch)
treef4874c3141e13ade2974dc5c5b06ba22d5da716f
parentbpf: fix build due to missing tc_verd (diff)
downloadlinux-ffaa31d7945f14edb04d7b2792a1dbd3a854a2bc.tar.xz
linux-ffaa31d7945f14edb04d7b2792a1dbd3a854a2bc.zip
atm:he - Do not initialise statics to 0.
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>
-rw-r--r--drivers/atm/he.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/he.c b/drivers/atm/he.c
index 0237271e80fc..a8da3a50e374 100644
--- 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[] = {