diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2011-11-07 21:41:11 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-11 12:32:48 -0500 |
commit | f72fa45f7d3e3ec627b62fed2e3451f5a597914d (patch) | |
tree | 6851fdc11b3a80327514683e346fe5581d92bfae /drivers/net/wireless/ath/ath9k/ar9003_eeprom.h | |
parent | 8ed1303321914a70ad580c1d034898e43c39b065 (diff) |
mwifiex: remove unnecessary free_priv handler
Cfg80211 stack allocates private area for driver use in
struct cfg80211_bss. It will be freed by stack in bss_release().
Driver don't need to worry about it.
In mwifiex driver, we use the private area just to store band
information(u8). We don't allocate memory explicitly and store
it's pointer in bss->priv. Hence we don't have any cleanup work
to do in free_priv handler. Currently we try to free the allocated
private area in free_priv handler which is not correct.
This patch removes unnecessary free_priv handler.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_eeprom.h')
0 files changed, 0 insertions, 0 deletions