projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- patches.arch/x86_mce_intel_decode_physical_address.patch:
[linux-flexiantxendom0-3.2.10.git]
/
drivers
/
net
/
wireless
/
hostap
/
hostap_80211_rx.c
diff --git
a/drivers/net/wireless/hostap/hostap_80211_rx.c
b/drivers/net/wireless/hostap/hostap_80211_rx.c
index
f4c5612
..
e0b3e8d
100644
(file)
--- a/
drivers/net/wireless/hostap/hostap_80211_rx.c
+++ b/
drivers/net/wireless/hostap/hostap_80211_rx.c
@@
-355,8
+355,7
@@
static struct hostap_bss_info *__hostap_add_bss(local_info_t *local, u8 *bssid,
list_del(&bss->list);
local->num_bss_info--;
} else {
- bss = (struct hostap_bss_info *)
- kmalloc(sizeof(*bss), GFP_ATOMIC);
+ bss = kmalloc(sizeof(*bss), GFP_ATOMIC);
if (bss == NULL)
return NULL;
}