From: Catalina Mocanu Date: Tue, 23 Sep 2014 19:52:33 +0000 (-0700) Subject: staging: ft1000-pcmcia: Don't initialise static to 0 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13e55e49472643b56986138da4aff115cabb111c;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 --- 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);