From 13e55e49472643b56986138da4aff115cabb111c Mon Sep 17 00:00:00 2001 From: Catalina Mocanu Date: Tue, 23 Sep 2014 12:52:33 -0700 Subject: [PATCH] staging: ft1000-pcmcia: Don't initialise static to 0 This fixes the following checkpatch.pl error: ERROR: do not initialise statics to 0 or NULL Signed-off-by: Catalina Mocanu Signed-off-by: Greg Kroah-Hartman --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c index a92bce81d2cd..2a4e2aa3059d 100644 --- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c +++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c @@ -62,8 +62,8 @@ static struct timer_list poll_timer = { static u16 cmdbuffer[1024]; static u8 tempbuffer[1600]; -static u8 ft1000_card_present = 0; -static u8 flarion_ft1000_cnt = 0; +static u8 ft1000_card_present; +static u8 flarion_ft1000_cnt; static irqreturn_t ft1000_interrupt(int irq, void *dev_id); static void ft1000_enable_interrupts(struct net_device *dev); -- 2.20.1