diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-28 11:59:57 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-10 15:10:17 -0500 |
commit | e5704bf0ba4bb2ca54a1c74f6a6dca53dfccc33d (patch) | |
tree | 847d34f0d4f041805cd5b64daa43cc0913ab600c | |
parent | 2df78167ade3d0542f0f95be7cc58861343cce3a (diff) |
ath9k: remove useless NULL initialisers
When I added .set_frag_threshold I didn't realise it was already
there which now generated a sparse warning. Therefore, remove
the .set_frag_threshold NULL initialiser, and while at it all the
other useless ones.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath9k/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index f6dc4c826044..b25c8f9670d1 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c | |||
@@ -1648,20 +1648,12 @@ static struct ieee80211_ops ath9k_ops = { | |||
1648 | .config = ath9k_config, | 1648 | .config = ath9k_config, |
1649 | .config_interface = ath9k_config_interface, | 1649 | .config_interface = ath9k_config_interface, |
1650 | .configure_filter = ath9k_configure_filter, | 1650 | .configure_filter = ath9k_configure_filter, |
1651 | .get_stats = NULL, | ||
1652 | .sta_notify = ath9k_sta_notify, | 1651 | .sta_notify = ath9k_sta_notify, |
1653 | .conf_tx = ath9k_conf_tx, | 1652 | .conf_tx = ath9k_conf_tx, |
1654 | .get_tx_stats = NULL, | ||
1655 | .bss_info_changed = ath9k_bss_info_changed, | 1653 | .bss_info_changed = ath9k_bss_info_changed, |
1656 | .set_tim = NULL, | ||
1657 | .set_key = ath9k_set_key, | 1654 | .set_key = ath9k_set_key, |
1658 | .hw_scan = NULL, | ||
1659 | .get_tkip_seq = NULL, | ||
1660 | .set_rts_threshold = NULL, | ||
1661 | .set_frag_threshold = NULL, | ||
1662 | .get_tsf = ath9k_get_tsf, | 1655 | .get_tsf = ath9k_get_tsf, |
1663 | .reset_tsf = ath9k_reset_tsf, | 1656 | .reset_tsf = ath9k_reset_tsf, |
1664 | .tx_last_beacon = NULL, | ||
1665 | .ampdu_action = ath9k_ampdu_action, | 1657 | .ampdu_action = ath9k_ampdu_action, |
1666 | .set_frag_threshold = ath9k_no_fragmentation, | 1658 | .set_frag_threshold = ath9k_no_fragmentation, |
1667 | }; | 1659 | }; |