summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShailendra Verma <shailendra.capricorn@gmail.com>2015-06-04 20:11:00 +0530
committerDavid S. Miller <davem@davemloft.net>2015-06-04 15:43:10 -0700
commitffaa31d7945f14edb04d7b2792a1dbd3a854a2bc (patch)
treef4874c3141e13ade2974dc5c5b06ba22d5da716f
parent94db13fe5ff144ea5afcfa3a3daf38a239090acf (diff)
downloadlinux-ffaa31d7945f14edb04d7b2792a1dbd3a854a2bc.tar.bz2
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[] = {