staging: vt6656: rename s_vGenerateTxParameter to vnt_generate_tx_parameter

This change “staging: vt6656: rename s_vGenerateTxParameter to vnt_generate_tx_parameter” (commit 9ec7f2d) in Linux kernel is authored by Malcolm Priestley <tvboxspy [at] gmail.com> on Thu Jul 10 19:56:15 2014 +0100.

Description of "staging: vt6656: rename s_vGenerateTxParameter to vnt_generate_tx_parameter"

The change “staging: vt6656: rename s_vGenerateTxParameter to vnt_generate_tx_parameter” introduces changes as follows.

staging: vt6656: rename s_vGenerateTxParameter to vnt_generate_tx_parameter

Removing static declaration

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Linux kernel releases containing commit 9ec7f2d

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "staging: vt6656: rename s_vGenerateTxParameter to vnt_generate_tx_parameter"

There are 13 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/staging/vt6656/rxtx.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
 
diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index 1ff16e28a727..ad1a1b6f4d6b 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -25,7 +25,7 @@
  * Date: May 20, 2003
  *
  * Functions:
- *      s_vGenerateTxParameter - Generate tx dma required parameter.
+ *      vnt_generate_tx_parameter - Generate tx dma required parameter.
  *      csBeacon_xmit - beacon tx function
  *      csMgmt_xmit - management tx function
  *      s_uGetDataDuration - get tx data required duration
@@ -83,11 +83,6 @@ static const u16 wFB_Opt1[2][5] = {
 
 static struct vnt_usb_send_context *s_vGetFreeContext(struct vnt_private *);
 
-static u16 s_vGenerateTxParameter(struct vnt_usb_send_context *tx_context,
-	u8 byPktType, u16 wCurrentRate,	struct vnt_tx_buffer *tx_buffer,
-	struct vnt_mic_hdr **mic_hdr, u32 need_mic, u32 cbFrameSize,
-	int bNeedACK, bool need_rts);
-
 static unsigned int s_uGetTxRsvTime(struct vnt_private *pDevice, u8 byPktType,
 	u32 cbFrameLength, u16 wRate, int bNeedAck);
 
@@ -702,7 +697,7 @@ static u16 vnt_rxtx_ab(struct vnt_usb_send_context *tx_context,
  *
 -*/
 
-static u16 s_vGenerateTxParameter(struct vnt_usb_send_context *tx_context,
+static u16 vnt_generate_tx_parameter(struct vnt_usb_send_context *tx_context,
 	u8 pkt_type, u16 current_rate, struct vnt_tx_buffer *tx_buffer,
 	struct vnt_mic_hdr **mic_hdr, u32 need_mic, u32 frame_size,
 	int need_ack, bool need_rts)
@@ -950,8 +945,8 @@ int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb)
 
 	tx_context->fb_option = fb_option;
 
-	duration_id = s_vGenerateTxParameter(tx_context, pkt_type, current_rate,
-				tx_buffer, &mic_hdr, need_mic, frame_size,
+	duration_id = vnt_generate_tx_parameter(tx_context, pkt_type,
+			current_rate, tx_buffer, &mic_hdr, need_mic, frame_size,
 						need_ack, need_rts);
 
 	tx_header_size = tx_context->tx_hdr_size;

The commit for this change in Linux stable tree is 9ec7f2d (patch).

Last modified: 2020/02/10