From: Malcolm Priestley Date: Fri, 25 Jul 2014 19:51:53 +0000 (+0100) Subject: staging: vt6656: main_usb.c remove return from void functions X-Git-Tag: firefly_0821_release~176^2~3491^2~273 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1beace3c8d0339e128573c28d9032eaf80723346;p=firefly-linux-kernel-4.4.55.git staging: vt6656: main_usb.c remove return from void functions Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 87e89d7161ec..422fcbabafac 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -381,8 +381,6 @@ static void vnt_free_tx_bufs(struct vnt_private *priv) kfree(tx_context); } - - return; } static void vnt_free_rx_bufs(struct vnt_private *priv) @@ -407,8 +405,6 @@ static void vnt_free_rx_bufs(struct vnt_private *priv) kfree(rcb); } - - return; } static void usb_device_reset(struct vnt_private *priv) @@ -419,14 +415,11 @@ static void usb_device_reset(struct vnt_private *priv) if (status) dev_warn(&priv->usb->dev, "usb_device_reset fail status=%d\n", status); - return ; } static void vnt_free_int_bufs(struct vnt_private *priv) { kfree(priv->int_buf.data_buf); - - return; } static bool vnt_alloc_bufs(struct vnt_private *priv) @@ -596,8 +589,6 @@ static void vnt_stop(struct ieee80211_hw *hw) usb_kill_urb(priv->interrupt_urb); usb_free_urb(priv->interrupt_urb); - - return; } static int vnt_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) @@ -663,8 +654,6 @@ static void vnt_remove_interface(struct ieee80211_hw *hw, /* LED slow blink */ vnt_mac_set_led(priv, LEDSTS_STS, LEDSTS_SLOW); - - return; } static int vnt_config(struct ieee80211_hw *hw, u32 changed) @@ -844,8 +833,6 @@ static void vnt_configure(struct ieee80211_hw *hw, vnt_control_out_u8(priv, MESSAGE_REQUEST_MACREG, MAC_REG_RCR, rx_mode); dev_dbg(&priv->usb->dev, "rx mode out= %x\n", rx_mode); - - return; } static int vnt_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,