staging: brcm80211: fix "ERROR: do not initialise globals to 0 or NULL"
authorJason Cooper <jason@lakedaemon.net>
Tue, 14 Sep 2010 13:45:37 +0000 (09:45 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 14 Sep 2010 23:23:40 +0000 (16:23 -0700)
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/util/bcmsrom.c
drivers/staging/brcm80211/util/linux_osl.c

index 03646508415a48519ad3f9dcfc604302ab32c663..361dc1126268dd73c494970b010090a3fb666762 100644 (file)
@@ -370,7 +370,7 @@ static const char BCMATTACHDATA(vstr_macaddr)[] = "macaddr=%s";
 static const char BCMATTACHDATA(vstr_usbepnum)[] = "usbepnum=0x%x";
 static const char BCMATTACHDATA(vstr_end)[] = "END\0";
 
-uint8 patch_pair = 0;
+uint8 patch_pair;
 
 /* For dongle HW, accept partial calibration parameters */
 #define BCMDONGLECASE(n)
index e4ab2a1b575990aa466903a11265aab976d5aeaa..3726e027334212f1e8dee517a6149d29bec6c19c 100644 (file)
@@ -52,7 +52,7 @@ struct osl_info {
 };
 
 /* Global ASSERT type flag */
-uint32 g_assert_type = 0;
+uint32 g_assert_type;
 
 static int16 linuxbcmerrormap[] = { 0, /* 0 */
        -EINVAL,                /* BCME_ERROR */