diff options
Diffstat (limited to 'drivers/net/wireless')
32 files changed, 0 insertions, 59 deletions
diff --git a/drivers/net/wireless/at76c50x-usb.c b/drivers/net/wireless/at76c50x-usb.c index 7a626d4e100f..8a2d4afc74f8 100644 --- a/drivers/net/wireless/at76c50x-usb.c +++ b/drivers/net/wireless/at76c50x-usb.c | |||
@@ -1223,7 +1223,6 @@ static void at76_rx_callback(struct urb *urb) | |||
1223 | 1223 | ||
1224 | priv->rx_tasklet.data = (unsigned long)urb; | 1224 | priv->rx_tasklet.data = (unsigned long)urb; |
1225 | tasklet_schedule(&priv->rx_tasklet); | 1225 | tasklet_schedule(&priv->rx_tasklet); |
1226 | return; | ||
1227 | } | 1226 | } |
1228 | 1227 | ||
1229 | static int at76_submit_rx_urb(struct at76_priv *priv) | 1228 | static int at76_submit_rx_urb(struct at76_priv *priv) |
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index 3ce9afba1d88..1b81c4778800 100644 --- a/drivers/net/wireless/ath/ath5k/phy.c +++ b/drivers/net/wireless/ath/ath5k/phy.c | |||
@@ -2145,8 +2145,6 @@ ath5k_get_chan_pcal_surrounding_piers(struct ath5k_hw *ah, | |||
2145 | done: | 2145 | done: |
2146 | *pcinfo_l = &pcinfo[idx_l]; | 2146 | *pcinfo_l = &pcinfo[idx_l]; |
2147 | *pcinfo_r = &pcinfo[idx_r]; | 2147 | *pcinfo_r = &pcinfo[idx_r]; |
2148 | |||
2149 | return; | ||
2150 | } | 2148 | } |
2151 | 2149 | ||
2152 | /* | 2150 | /* |
diff --git a/drivers/net/wireless/ath/ath5k/reset.c b/drivers/net/wireless/ath/ath5k/reset.c index 44bbbf2a6edd..307f80e83f94 100644 --- a/drivers/net/wireless/ath/ath5k/reset.c +++ b/drivers/net/wireless/ath/ath5k/reset.c | |||
@@ -627,7 +627,6 @@ static void ath5k_hw_set_sleep_clock(struct ath5k_hw *ah, bool enable) | |||
627 | 627 | ||
628 | AR5K_REG_WRITE_BITS(ah, AR5K_TSF_PARM, AR5K_TSF_PARM_INC, 1); | 628 | AR5K_REG_WRITE_BITS(ah, AR5K_TSF_PARM, AR5K_TSF_PARM_INC, 1); |
629 | } | 629 | } |
630 | return; | ||
631 | } | 630 | } |
632 | 631 | ||
633 | /* TODO: Half/Quarter rate */ | 632 | /* TODO: Half/Quarter rate */ |
@@ -883,8 +882,6 @@ static void ath5k_hw_commit_eeprom_settings(struct ath5k_hw *ah, | |||
883 | /* Heavy clipping -disable for now */ | 882 | /* Heavy clipping -disable for now */ |
884 | if (ah->ah_ee_version >= AR5K_EEPROM_VERSION_5_1) | 883 | if (ah->ah_ee_version >= AR5K_EEPROM_VERSION_5_1) |
885 | ath5k_hw_reg_write(ah, 0, AR5K_PHY_HEAVY_CLIP_ENABLE); | 884 | ath5k_hw_reg_write(ah, 0, AR5K_PHY_HEAVY_CLIP_ENABLE); |
886 | |||
887 | return; | ||
888 | } | 885 | } |
889 | 886 | ||
890 | /* | 887 | /* |
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_calib.c b/drivers/net/wireless/ath/ath9k/ar9003_calib.c index 5fcafb460877..56a9e5fa6d66 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_calib.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_calib.c | |||
@@ -726,7 +726,6 @@ static void ar9003_hw_tx_iq_cal(struct ath_hw *ah) | |||
726 | 726 | ||
727 | TX_IQ_CAL_FAILED: | 727 | TX_IQ_CAL_FAILED: |
728 | ath_print(common, ATH_DBG_CALIBRATE, "Tx IQ Cal failed\n"); | 728 | ath_print(common, ATH_DBG_CALIBRATE, "Tx IQ Cal failed\n"); |
729 | return; | ||
730 | } | 729 | } |
731 | 730 | ||
732 | static bool ar9003_hw_init_cal(struct ath_hw *ah, | 731 | static bool ar9003_hw_init_cal(struct ath_hw *ah, |
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c index 6982577043b8..07b8fa6fb62f 100644 --- a/drivers/net/wireless/ath/ath9k/calib.c +++ b/drivers/net/wireless/ath/ath9k/calib.c | |||
@@ -86,7 +86,6 @@ static void ath9k_hw_update_nfcal_hist_buffer(struct ath9k_nfcal_hist *h, | |||
86 | ath9k_hw_get_nf_hist_mid(h[i].nfCalBuffer); | 86 | ath9k_hw_get_nf_hist_mid(h[i].nfCalBuffer); |
87 | } | 87 | } |
88 | } | 88 | } |
89 | return; | ||
90 | } | 89 | } |
91 | 90 | ||
92 | static bool ath9k_hw_get_nf_thresh(struct ath_hw *ah, | 91 | static bool ath9k_hw_get_nf_thresh(struct ath_hw *ah, |
diff --git a/drivers/net/wireless/ath/ath9k/eeprom.c b/drivers/net/wireless/ath/ath9k/eeprom.c index bd9dff3293dc..ca8704a9d7ac 100644 --- a/drivers/net/wireless/ath/ath9k/eeprom.c +++ b/drivers/net/wireless/ath/ath9k/eeprom.c | |||
@@ -36,8 +36,6 @@ void ath9k_hw_analog_shift_rmw(struct ath_hw *ah, u32 reg, u32 mask, | |||
36 | 36 | ||
37 | if (ah->config.analog_shiftreg) | 37 | if (ah->config.analog_shiftreg) |
38 | udelay(100); | 38 | udelay(100); |
39 | |||
40 | return; | ||
41 | } | 39 | } |
42 | 40 | ||
43 | int16_t ath9k_hw_interpolate(u16 target, u16 srcLeft, u16 srcRight, | 41 | int16_t ath9k_hw_interpolate(u16 target, u16 srcLeft, u16 srcRight, |
diff --git a/drivers/net/wireless/ath/ath9k/eeprom_def.c b/drivers/net/wireless/ath/ath9k/eeprom_def.c index e591ad6016e5..7e1ed78d0e64 100644 --- a/drivers/net/wireless/ath/ath9k/eeprom_def.c +++ b/drivers/net/wireless/ath/ath9k/eeprom_def.c | |||
@@ -50,7 +50,6 @@ static void ath9k_get_txgain_index(struct ath_hw *ah, | |||
50 | i++; | 50 | i++; |
51 | 51 | ||
52 | *pcdacIdx = i; | 52 | *pcdacIdx = i; |
53 | return; | ||
54 | } | 53 | } |
55 | 54 | ||
56 | static void ath9k_olc_get_pdadcs(struct ath_hw *ah, | 55 | static void ath9k_olc_get_pdadcs(struct ath_hw *ah, |
@@ -751,8 +750,6 @@ static void ath9k_hw_get_def_gain_boundaries_pdadcs(struct ath_hw *ah, | |||
751 | pPDADCValues[k] = pPDADCValues[k - 1]; | 750 | pPDADCValues[k] = pPDADCValues[k - 1]; |
752 | k++; | 751 | k++; |
753 | } | 752 | } |
754 | |||
755 | return; | ||
756 | } | 753 | } |
757 | 754 | ||
758 | static int16_t ath9k_change_gain_boundary_setting(struct ath_hw *ah, | 755 | static int16_t ath9k_change_gain_boundary_setting(struct ath_hw *ah, |
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c index 28abc7d5e909..2571b443ac82 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | |||
@@ -663,7 +663,6 @@ void ath9k_htc_rxep(void *drv_priv, struct sk_buff *skb, | |||
663 | return; | 663 | return; |
664 | err: | 664 | err: |
665 | dev_kfree_skb_any(skb); | 665 | dev_kfree_skb_any(skb); |
666 | return; | ||
667 | } | 666 | } |
668 | 667 | ||
669 | /* FIXME: Locking for cleanup/init */ | 668 | /* FIXME: Locking for cleanup/init */ |
diff --git a/drivers/net/wireless/ath/regd.c b/drivers/net/wireless/ath/regd.c index 24d59883d944..3f4244f56ce5 100644 --- a/drivers/net/wireless/ath/regd.c +++ b/drivers/net/wireless/ath/regd.c | |||
@@ -333,7 +333,6 @@ static void ath_reg_apply_world_flags(struct wiphy *wiphy, | |||
333 | ath_reg_apply_active_scan_flags(wiphy, initiator); | 333 | ath_reg_apply_active_scan_flags(wiphy, initiator); |
334 | break; | 334 | break; |
335 | } | 335 | } |
336 | return; | ||
337 | } | 336 | } |
338 | 337 | ||
339 | int ath_reg_notifier_apply(struct wiphy *wiphy, | 338 | int ath_reg_notifier_apply(struct wiphy *wiphy, |
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c index 2088ac029b35..a59ceb26cd83 100644 --- a/drivers/net/wireless/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/ipw2x00/ipw2100.c | |||
@@ -3239,7 +3239,6 @@ static void ipw2100_tx_send_data(struct ipw2100_priv *priv) | |||
3239 | IPW_MEM_HOST_SHARED_TX_QUEUE_WRITE_INDEX, | 3239 | IPW_MEM_HOST_SHARED_TX_QUEUE_WRITE_INDEX, |
3240 | txq->next); | 3240 | txq->next); |
3241 | } | 3241 | } |
3242 | return; | ||
3243 | } | 3242 | } |
3244 | 3243 | ||
3245 | static void ipw2100_irq_tasklet(struct ipw2100_priv *priv) | 3244 | static void ipw2100_irq_tasklet(struct ipw2100_priv *priv) |
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c index 82de71a3aea7..3aa3bb18f615 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c | |||
@@ -2607,8 +2607,6 @@ static inline void eeprom_write_reg(struct ipw_priv *p, u32 data) | |||
2607 | 2607 | ||
2608 | /* the eeprom requires some time to complete the operation */ | 2608 | /* the eeprom requires some time to complete the operation */ |
2609 | udelay(p->eeprom_delay); | 2609 | udelay(p->eeprom_delay); |
2610 | |||
2611 | return; | ||
2612 | } | 2610 | } |
2613 | 2611 | ||
2614 | /* perform a chip select operation */ | 2612 | /* perform a chip select operation */ |
diff --git a/drivers/net/wireless/ipw2x00/libipw_rx.c b/drivers/net/wireless/ipw2x00/libipw_rx.c index 39a34da52d52..0de1b1893220 100644 --- a/drivers/net/wireless/ipw2x00/libipw_rx.c +++ b/drivers/net/wireless/ipw2x00/libipw_rx.c | |||
@@ -918,7 +918,6 @@ void libipw_rx_any(struct libipw_device *ieee, | |||
918 | drop_free: | 918 | drop_free: |
919 | dev_kfree_skb_irq(skb); | 919 | dev_kfree_skb_irq(skb); |
920 | ieee->dev->stats.rx_dropped++; | 920 | ieee->dev->stats.rx_dropped++; |
921 | return; | ||
922 | } | 921 | } |
923 | 922 | ||
924 | #define MGMT_FRAME_FIXED_PART_LENGTH 0x24 | 923 | #define MGMT_FRAME_FIXED_PART_LENGTH 0x24 |
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c index 32eb4709acac..8e84a08ff951 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c | |||
@@ -545,8 +545,6 @@ static void rs_tx_status(void *priv_rate, struct ieee80211_supported_band *sband | |||
545 | spin_unlock_irqrestore(&rs_sta->lock, flags); | 545 | spin_unlock_irqrestore(&rs_sta->lock, flags); |
546 | 546 | ||
547 | IWL_DEBUG_RATE(priv, "leave\n"); | 547 | IWL_DEBUG_RATE(priv, "leave\n"); |
548 | |||
549 | return; | ||
550 | } | 548 | } |
551 | 549 | ||
552 | static u16 iwl3945_get_adjacent_rate(struct iwl3945_rs_sta *rs_sta, | 550 | static u16 iwl3945_get_adjacent_rate(struct iwl3945_rs_sta *rs_sta, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c index bfcac5608d87..cf4a95bae4ff 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c | |||
@@ -2337,8 +2337,6 @@ out: | |||
2337 | tbl->current_rate = rate_n_flags_from_tbl(priv, tbl, index, is_green); | 2337 | tbl->current_rate = rate_n_flags_from_tbl(priv, tbl, index, is_green); |
2338 | i = index; | 2338 | i = index; |
2339 | lq_sta->last_txrate_idx = i; | 2339 | lq_sta->last_txrate_idx = i; |
2340 | |||
2341 | return; | ||
2342 | } | 2340 | } |
2343 | 2341 | ||
2344 | /** | 2342 | /** |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index a672d3379cfd..cc15e929a987 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -2494,7 +2494,6 @@ static void iwl_bg_run_time_calib_work(struct work_struct *work) | |||
2494 | } | 2494 | } |
2495 | 2495 | ||
2496 | mutex_unlock(&priv->mutex); | 2496 | mutex_unlock(&priv->mutex); |
2497 | return; | ||
2498 | } | 2497 | } |
2499 | 2498 | ||
2500 | static void iwl_bg_restart(struct work_struct *data) | 2499 | static void iwl_bg_restart(struct work_struct *data) |
diff --git a/drivers/net/wireless/iwlwifi/iwl-calib.c b/drivers/net/wireless/iwlwifi/iwl-calib.c index f1fd00b1a65d..7e8227773213 100644 --- a/drivers/net/wireless/iwlwifi/iwl-calib.c +++ b/drivers/net/wireless/iwlwifi/iwl-calib.c | |||
@@ -638,8 +638,6 @@ void iwl_sensitivity_calibration(struct iwl_priv *priv, | |||
638 | iwl_sens_auto_corr_ofdm(priv, norm_fa_ofdm, rx_enable_time); | 638 | iwl_sens_auto_corr_ofdm(priv, norm_fa_ofdm, rx_enable_time); |
639 | iwl_sens_energy_cck(priv, norm_fa_cck, rx_enable_time, &statis); | 639 | iwl_sens_energy_cck(priv, norm_fa_cck, rx_enable_time, &statis); |
640 | iwl_sensitivity_write(priv); | 640 | iwl_sensitivity_write(priv); |
641 | |||
642 | return; | ||
643 | } | 641 | } |
644 | EXPORT_SYMBOL(iwl_sensitivity_calibration); | 642 | EXPORT_SYMBOL(iwl_sensitivity_calibration); |
645 | 643 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 4cdf4d3a9ddb..87eb89f000f5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -769,7 +769,6 @@ void iwl_set_rxon_ht(struct iwl_priv *priv, struct iwl_ht_config *ht_conf) | |||
769 | "extension channel offset 0x%x\n", | 769 | "extension channel offset 0x%x\n", |
770 | le32_to_cpu(rxon->flags), ht_conf->ht_protection, | 770 | le32_to_cpu(rxon->flags), ht_conf->ht_protection, |
771 | ht_conf->extension_chan_offset); | 771 | ht_conf->extension_chan_offset); |
772 | return; | ||
773 | } | 772 | } |
774 | EXPORT_SYMBOL(iwl_set_rxon_ht); | 773 | EXPORT_SYMBOL(iwl_set_rxon_ht); |
775 | 774 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index c7e1d7d09e02..1beb81c0be68 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -848,7 +848,6 @@ static void iwl3945_rx_reply_add_sta(struct iwl_priv *priv, | |||
848 | #endif | 848 | #endif |
849 | 849 | ||
850 | IWL_DEBUG_RX(priv, "Received REPLY_ADD_STA: 0x%02X\n", pkt->u.status); | 850 | IWL_DEBUG_RX(priv, "Received REPLY_ADD_STA: 0x%02X\n", pkt->u.status); |
851 | return; | ||
852 | } | 851 | } |
853 | 852 | ||
854 | static void iwl3945_bg_beacon_update(struct work_struct *work) | 853 | static void iwl3945_bg_beacon_update(struct work_struct *work) |
diff --git a/drivers/net/wireless/iwmc3200wifi/sdio.c b/drivers/net/wireless/iwmc3200wifi/sdio.c index 1acea37f39f8..edcb52330cf5 100644 --- a/drivers/net/wireless/iwmc3200wifi/sdio.c +++ b/drivers/net/wireless/iwmc3200wifi/sdio.c | |||
@@ -479,8 +479,6 @@ static void iwm_sdio_remove(struct sdio_func *func) | |||
479 | sdio_set_drvdata(func, NULL); | 479 | sdio_set_drvdata(func, NULL); |
480 | 480 | ||
481 | dev_info(dev, "IWM SDIO remove\n"); | 481 | dev_info(dev, "IWM SDIO remove\n"); |
482 | |||
483 | return; | ||
484 | } | 482 | } |
485 | 483 | ||
486 | static const struct sdio_device_id iwm_sdio_ids[] = { | 484 | static const struct sdio_device_id iwm_sdio_ids[] = { |
diff --git a/drivers/net/wireless/libertas/debugfs.c b/drivers/net/wireless/libertas/debugfs.c index 6f5b843c1f44..de2caac11dd6 100644 --- a/drivers/net/wireless/libertas/debugfs.c +++ b/drivers/net/wireless/libertas/debugfs.c | |||
@@ -757,15 +757,12 @@ void lbs_debugfs_init(void) | |||
757 | { | 757 | { |
758 | if (!lbs_dir) | 758 | if (!lbs_dir) |
759 | lbs_dir = debugfs_create_dir("lbs_wireless", NULL); | 759 | lbs_dir = debugfs_create_dir("lbs_wireless", NULL); |
760 | |||
761 | return; | ||
762 | } | 760 | } |
763 | 761 | ||
764 | void lbs_debugfs_remove(void) | 762 | void lbs_debugfs_remove(void) |
765 | { | 763 | { |
766 | if (lbs_dir) | 764 | if (lbs_dir) |
767 | debugfs_remove(lbs_dir); | 765 | debugfs_remove(lbs_dir); |
768 | return; | ||
769 | } | 766 | } |
770 | 767 | ||
771 | void lbs_debugfs_init_one(struct lbs_private *priv, struct net_device *dev) | 768 | void lbs_debugfs_init_one(struct lbs_private *priv, struct net_device *dev) |
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c index fcea5741ba62..f41594c7ac16 100644 --- a/drivers/net/wireless/libertas/if_usb.c +++ b/drivers/net/wireless/libertas/if_usb.c | |||
@@ -133,8 +133,6 @@ static void if_usb_write_bulk_callback(struct urb *urb) | |||
133 | /* print the failure status number for debug */ | 133 | /* print the failure status number for debug */ |
134 | lbs_pr_info("URB in failure status: %d\n", urb->status); | 134 | lbs_pr_info("URB in failure status: %d\n", urb->status); |
135 | } | 135 | } |
136 | |||
137 | return; | ||
138 | } | 136 | } |
139 | 137 | ||
140 | /** | 138 | /** |
@@ -651,8 +649,6 @@ static void if_usb_receive_fwload(struct urb *urb) | |||
651 | if_usb_submit_rx_urb_fwload(cardp); | 649 | if_usb_submit_rx_urb_fwload(cardp); |
652 | 650 | ||
653 | kfree(syncfwheader); | 651 | kfree(syncfwheader); |
654 | |||
655 | return; | ||
656 | } | 652 | } |
657 | 653 | ||
658 | #define MRVDRV_MIN_PKT_LEN 30 | 654 | #define MRVDRV_MIN_PKT_LEN 30 |
diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c index e2b8d886b091..a115bfa9513a 100644 --- a/drivers/net/wireless/libertas/rx.c +++ b/drivers/net/wireless/libertas/rx.c | |||
@@ -90,7 +90,6 @@ static void lbs_save_rawSNRNF(struct lbs_private *priv, struct rxpd *p_rx_pd) | |||
90 | priv->nextSNRNF++; | 90 | priv->nextSNRNF++; |
91 | if (priv->nextSNRNF >= DEFAULT_DATA_AVG_FACTOR) | 91 | if (priv->nextSNRNF >= DEFAULT_DATA_AVG_FACTOR) |
92 | priv->nextSNRNF = 0; | 92 | priv->nextSNRNF = 0; |
93 | return; | ||
94 | } | 93 | } |
95 | 94 | ||
96 | /** | 95 | /** |
diff --git a/drivers/net/wireless/libertas_tf/if_usb.c b/drivers/net/wireless/libertas_tf/if_usb.c index 4412c279ca94..c445500ffc61 100644 --- a/drivers/net/wireless/libertas_tf/if_usb.c +++ b/drivers/net/wireless/libertas_tf/if_usb.c | |||
@@ -576,7 +576,6 @@ static void if_usb_receive_fwload(struct urb *urb) | |||
576 | kfree(syncfwheader); | 576 | kfree(syncfwheader); |
577 | 577 | ||
578 | lbtf_deb_leave(LBTF_DEB_USB); | 578 | lbtf_deb_leave(LBTF_DEB_USB); |
579 | return; | ||
580 | } | 579 | } |
581 | 580 | ||
582 | #define MRVDRV_MIN_PKT_LEN 30 | 581 | #define MRVDRV_MIN_PKT_LEN 30 |
diff --git a/drivers/net/wireless/libertas_tf/main.c b/drivers/net/wireless/libertas_tf/main.c index 60787de56f3a..6a04c2157f73 100644 --- a/drivers/net/wireless/libertas_tf/main.c +++ b/drivers/net/wireless/libertas_tf/main.c | |||
@@ -360,7 +360,6 @@ static void lbtf_op_stop(struct ieee80211_hw *hw) | |||
360 | lbtf_set_radio_control(priv); | 360 | lbtf_set_radio_control(priv); |
361 | 361 | ||
362 | lbtf_deb_leave(LBTF_DEB_MACOPS); | 362 | lbtf_deb_leave(LBTF_DEB_MACOPS); |
363 | return; | ||
364 | } | 363 | } |
365 | 364 | ||
366 | static int lbtf_op_add_interface(struct ieee80211_hw *hw, | 365 | static int lbtf_op_add_interface(struct ieee80211_hw *hw, |
diff --git a/drivers/net/wireless/orinoco/main.c b/drivers/net/wireless/orinoco/main.c index 97e954ee17f8..ca71f08709bc 100644 --- a/drivers/net/wireless/orinoco/main.c +++ b/drivers/net/wireless/orinoco/main.c | |||
@@ -1618,8 +1618,6 @@ void __orinoco_ev_info(struct net_device *dev, hermes_t *hw) | |||
1618 | /* We don't actually do anything about it */ | 1618 | /* We don't actually do anything about it */ |
1619 | break; | 1619 | break; |
1620 | } | 1620 | } |
1621 | |||
1622 | return; | ||
1623 | } | 1621 | } |
1624 | EXPORT_SYMBOL(__orinoco_ev_info); | 1622 | EXPORT_SYMBOL(__orinoco_ev_info); |
1625 | 1623 | ||
diff --git a/drivers/net/wireless/p54/p54usb.c b/drivers/net/wireless/p54/p54usb.c index 743a6c68b29d..d5b197b4d5bb 100644 --- a/drivers/net/wireless/p54/p54usb.c +++ b/drivers/net/wireless/p54/p54usb.c | |||
@@ -875,7 +875,6 @@ static void p54u_stop(struct ieee80211_hw *dev) | |||
875 | the hardware is still usable next time we want to start it. | 875 | the hardware is still usable next time we want to start it. |
876 | until then, we just stop listening to the hardware.. */ | 876 | until then, we just stop listening to the hardware.. */ |
877 | p54u_free_urbs(dev); | 877 | p54u_free_urbs(dev); |
878 | return; | ||
879 | } | 878 | } |
880 | 879 | ||
881 | static int __devinit p54u_probe(struct usb_interface *intf, | 880 | static int __devinit p54u_probe(struct usb_interface *intf, |
diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c index a45818ebfdfb..8d1190c0f062 100644 --- a/drivers/net/wireless/prism54/isl_ioctl.c +++ b/drivers/net/wireless/prism54/isl_ioctl.c | |||
@@ -210,8 +210,6 @@ prism54_update_stats(struct work_struct *work) | |||
210 | priv->local_iwstatistics.discard.retries = r.u; | 210 | priv->local_iwstatistics.discard.retries = r.u; |
211 | 211 | ||
212 | mutex_unlock(&priv->stats_lock); | 212 | mutex_unlock(&priv->stats_lock); |
213 | |||
214 | return; | ||
215 | } | 213 | } |
216 | 214 | ||
217 | struct iw_statistics * | 215 | struct iw_statistics * |
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 73972ee76540..3886b21becd9 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -735,8 +735,6 @@ static void verify_dl_startup(u_long data) | |||
735 | start_net((u_long) local); | 735 | start_net((u_long) local); |
736 | else | 736 | else |
737 | join_net((u_long) local); | 737 | join_net((u_long) local); |
738 | |||
739 | return; | ||
740 | } /* end verify_dl_startup */ | 738 | } /* end verify_dl_startup */ |
741 | 739 | ||
742 | /*===========================================================================*/ | 740 | /*===========================================================================*/ |
@@ -764,7 +762,6 @@ static void start_net(u_long data) | |||
764 | return; | 762 | return; |
765 | } | 763 | } |
766 | local->card_status = CARD_DOING_ACQ; | 764 | local->card_status = CARD_DOING_ACQ; |
767 | return; | ||
768 | } /* end start_net */ | 765 | } /* end start_net */ |
769 | 766 | ||
770 | /*===========================================================================*/ | 767 | /*===========================================================================*/ |
@@ -795,7 +792,6 @@ static void join_net(u_long data) | |||
795 | return; | 792 | return; |
796 | } | 793 | } |
797 | local->card_status = CARD_DOING_ACQ; | 794 | local->card_status = CARD_DOING_ACQ; |
798 | return; | ||
799 | } | 795 | } |
800 | 796 | ||
801 | /*============================================================================ | 797 | /*============================================================================ |
@@ -1626,7 +1622,6 @@ static int ray_dev_close(struct net_device *dev) | |||
1626 | static void ray_reset(struct net_device *dev) | 1622 | static void ray_reset(struct net_device *dev) |
1627 | { | 1623 | { |
1628 | pr_debug("ray_reset entered\n"); | 1624 | pr_debug("ray_reset entered\n"); |
1629 | return; | ||
1630 | } | 1625 | } |
1631 | 1626 | ||
1632 | /*===========================================================================*/ | 1627 | /*===========================================================================*/ |
diff --git a/drivers/net/wireless/rt2x00/rt2x00debug.c b/drivers/net/wireless/rt2x00/rt2x00debug.c index 9569fb4e5bc5..e2497f820d75 100644 --- a/drivers/net/wireless/rt2x00/rt2x00debug.c +++ b/drivers/net/wireless/rt2x00/rt2x00debug.c | |||
@@ -700,8 +700,6 @@ void rt2x00debug_register(struct rt2x00_dev *rt2x00dev) | |||
700 | exit: | 700 | exit: |
701 | rt2x00debug_deregister(rt2x00dev); | 701 | rt2x00debug_deregister(rt2x00dev); |
702 | ERROR(rt2x00dev, "Failed to register debug handler.\n"); | 702 | ERROR(rt2x00dev, "Failed to register debug handler.\n"); |
703 | |||
704 | return; | ||
705 | } | 703 | } |
706 | 704 | ||
707 | void rt2x00debug_deregister(struct rt2x00_dev *rt2x00dev) | 705 | void rt2x00debug_deregister(struct rt2x00_dev *rt2x00dev) |
diff --git a/drivers/net/wireless/wl12xx/wl1251_rx.c b/drivers/net/wireless/wl12xx/wl1251_rx.c index af5c67b4da95..851515836a7f 100644 --- a/drivers/net/wireless/wl12xx/wl1251_rx.c +++ b/drivers/net/wireless/wl12xx/wl1251_rx.c | |||
@@ -183,6 +183,4 @@ void wl1251_rx(struct wl1251 *wl) | |||
183 | 183 | ||
184 | /* Finally, we need to ACK the RX */ | 184 | /* Finally, we need to ACK the RX */ |
185 | wl1251_rx_ack(wl); | 185 | wl1251_rx_ack(wl); |
186 | |||
187 | return; | ||
188 | } | 186 | } |
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index 1e61e6cace90..6449fe3d128f 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -1452,8 +1452,6 @@ static void wl3501_detach(struct pcmcia_device *link) | |||
1452 | 1452 | ||
1453 | if (link->priv) | 1453 | if (link->priv) |
1454 | free_netdev(link->priv); | 1454 | free_netdev(link->priv); |
1455 | |||
1456 | return; | ||
1457 | } | 1455 | } |
1458 | 1456 | ||
1459 | static int wl3501_get_name(struct net_device *dev, struct iw_request_info *info, | 1457 | static int wl3501_get_name(struct net_device *dev, struct iw_request_info *info, |
diff --git a/drivers/net/wireless/zd1201.c b/drivers/net/wireless/zd1201.c index ece86a5d3355..390d77f762c4 100644 --- a/drivers/net/wireless/zd1201.c +++ b/drivers/net/wireless/zd1201.c | |||
@@ -134,7 +134,6 @@ static void zd1201_usbfree(struct urb *urb) | |||
134 | 134 | ||
135 | kfree(urb->transfer_buffer); | 135 | kfree(urb->transfer_buffer); |
136 | usb_free_urb(urb); | 136 | usb_free_urb(urb); |
137 | return; | ||
138 | } | 137 | } |
139 | 138 | ||
140 | /* cmdreq message: | 139 | /* cmdreq message: |
@@ -185,7 +184,6 @@ static void zd1201_usbtx(struct urb *urb) | |||
185 | { | 184 | { |
186 | struct zd1201 *zd = urb->context; | 185 | struct zd1201 *zd = urb->context; |
187 | netif_wake_queue(zd->dev); | 186 | netif_wake_queue(zd->dev); |
188 | return; | ||
189 | } | 187 | } |
190 | 188 | ||
191 | /* Incoming data */ | 189 | /* Incoming data */ |
@@ -407,7 +405,6 @@ exit: | |||
407 | wake_up(&zd->rxdataq); | 405 | wake_up(&zd->rxdataq); |
408 | kfree(urb->transfer_buffer); | 406 | kfree(urb->transfer_buffer); |
409 | } | 407 | } |
410 | return; | ||
411 | } | 408 | } |
412 | 409 | ||
413 | static int zd1201_getconfig(struct zd1201 *zd, int rid, void *riddata, | 410 | static int zd1201_getconfig(struct zd1201 *zd, int rid, void *riddata, |