All of lore.kernel.org
 help / color / mirror / Atom feed
From: Malcolm Priestley <tvboxspy@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-wireless@vger.kernel.org, Malcolm Priestley <tvboxspy@gmail.com>
Subject: [PATCH 09/12] staging: vt6656: main_usb.c remove return from void functions
Date: Fri, 25 Jul 2014 20:51:53 +0100	[thread overview]
Message-ID: <1406317916-21884-9-git-send-email-tvboxspy@gmail.com> (raw)
In-Reply-To: <1406317916-21884-1-git-send-email-tvboxspy@gmail.com>

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
---
 drivers/staging/vt6656/main_usb.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index 87e89d7..422fcba 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,
-- 
2.0.1


  parent reply	other threads:[~2014-07-25 19:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-25 19:51 [PATCH 01/12] staging: vt6656: rename device_set_options to vnt_set_options Malcolm Priestley
2014-07-25 19:51 ` [PATCH 02/12] staging: vt6656: rename device_init_registers to vnt_init_registers Malcolm Priestley
2014-07-25 19:51 ` [PATCH 03/12] staging: vt6656: rename device_free_tx_bufs to vnt_free_tx_bufs Malcolm Priestley
2014-07-25 19:51 ` [PATCH 04/12] staging: vt6656: rename device_free_rx_bufs to vnt_free_rx_bufs Malcolm Priestley
2014-07-25 19:51 ` [PATCH 05/12] staging: vt6656: rename device_free_int_bufs to vnt_free_int_bufs Malcolm Priestley
2014-07-25 19:51 ` [PATCH 06/12] staging: vt6656: rename device_alloc_bufs to vnt_alloc_bufs Malcolm Priestley
2014-07-25 19:51 ` [PATCH 07/12] staging: vt6656: main_usb.c remove comments to functions nolonger present Malcolm Priestley
2014-07-25 19:51 ` [PATCH 08/12] staging: vt6656: change driver version to mac80211 Malcolm Priestley
2014-07-25 19:51 ` Malcolm Priestley [this message]
2014-07-25 19:51 ` [PATCH 10/12] staging: vt6656: remove return from all void functions Malcolm Priestley
2014-07-25 19:51 ` [PATCH 11/12] staging: vt6656: remove comments of old functions nolonger present Malcolm Priestley
2014-07-25 19:51 ` [PATCH 12/12] staging: vt6656: rf.h clean up comments Malcolm Priestley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1406317916-21884-9-git-send-email-tvboxspy@gmail.com \
    --to=tvboxspy@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.