summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wlcore/wlcore.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-11-30 15:02:47 +0200
committerLuciano Coelho <coelho@ti.com>2012-04-12 08:43:58 +0300
commit4263c5f27c0403ad750c4f2509e5396e630b6e6e (patch)
tree339e2bb42b5b90f0490466d68409070ce59d2526 /drivers/net/wireless/ti/wlcore/wlcore.h
parentd203e59c4b56d56916a804ebeb04b0e6d92adf4c (diff)
downloadlinux-4263c5f27c0403ad750c4f2509e5396e630b6e6e.tar.bz2
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/wlcore.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/wlcore.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/wlcore.h b/drivers/net/wireless/ti/wlcore/wlcore.h
index 5f5dadbf9092..984dda731344 100644
--- a/drivers/net/wireless/ti/wlcore/wlcore.h
+++ b/drivers/net/wireless/ti/wlcore/wlcore.h
@@ -111,7 +111,6 @@ struct wl1271 {
struct wl1271_chip chip;
int cmd_box_addr;
- int event_box_addr;
u8 *fw;
size_t fw_len;