summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/event.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-11-30 13:02:47 (GMT)
committerLuciano Coelho <coelho@ti.com>2012-04-12 05:43:58 (GMT)
commit4263c5f27c0403ad750c4f2509e5396e630b6e6e (patch)
tree339e2bb42b5b90f0490466d68409070ce59d2526 /drivers/net/wireless/ti/wlcore/event.h
parentd203e59c4b56d56916a804ebeb04b0e6d92adf4c (diff)
downloadlinux-fsl-qoriq-4263c5f27c0403ad750c4f2509e5396e630b6e6e.tar.xz
wlcore: remove some unnecessary event mailbox address reads
We were reading the even mailbox address three times, which was completely unnecessary and complicated things regarding partition selection. Remove the unnecessry reads and set the address for mailbox 1 and 2 after the first read. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/event.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/event.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/event.h b/drivers/net/wireless/ti/wlcore/event.h
index 8acba0d..8adf18d 100644
--- a/drivers/net/wireless/ti/wlcore/event.h
+++ b/drivers/net/wireless/ti/wlcore/event.h
@@ -135,7 +135,6 @@ struct event_mailbox {
struct wl1271;
int wl1271_event_unmask(struct wl1271 *wl);
-void wl1271_event_mbox_config(struct wl1271 *wl);
int wl1271_event_handle(struct wl1271 *wl, u8 mbox);
#endif