Commit 0805095d authored by Roland Vossen's avatar Roland Vossen Committed by Greg Kroah-Hartman

staging: brcm80211: removed global var from aiutils.c

Reviewed-by: default avatarPieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarFranky Lin <frankyl@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 52d63c39
......@@ -477,9 +477,6 @@ struct aidmp {
u32 componentid3; /* 0xffc */
};
/* global kernel resource */
static struct si_info ksii;
/* EROM parsing */
static u32
......@@ -1216,8 +1213,7 @@ void ai_detach(struct si_pub *sih)
pcicore_deinit(sii->pch);
sii->pch = NULL;
if (sii != &ksii)
kfree(sii);
kfree(sii);
}
/* register driver interrupt disabling and restoring callback functions */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment