staging: rtl8187se: Remove initialization of static variable in ieee80211/ieee80211_s...
authorAna Rey <anarey@gmail.com>
Sun, 16 Mar 2014 19:44:43 +0000 (20:44 +0100)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Mon, 17 Mar 2014 04:57:24 +0000 (21:57 -0700)
Fix checkpatch.pl errors:
ERROR: do not initialise statics to 0 or NULL

Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c

index 6cd46bafea900b1e39dc9b922f23502f13a39340..03eb164798cd2a44e9f1d2227842a2d10b50fd2d 100644 (file)
@@ -479,7 +479,7 @@ static void ieee80211_softmac_scan_wq(struct work_struct *work)
 {
        struct delayed_work *dwork = to_delayed_work(work);
        struct ieee80211_device *ieee = container_of(dwork, struct ieee80211_device, softmac_scan_wq);
-       static short watchdog = 0;
+       static short watchdog;
        u8 channel_map[MAX_CHANNEL_NUMBER+1];
        memcpy(channel_map, GET_DOT11D_INFO(ieee)->channel_map, MAX_CHANNEL_NUMBER+1);
        down(&ieee->scan_sem);