]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: vt6656: rename s_vGenerateTxParameter to vnt_generate_tx_parameter
authorMalcolm Priestley <tvboxspy@gmail.com>
Thu, 10 Jul 2014 18:56:15 +0000 (19:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 22:17:15 +0000 (15:17 -0700)
Removing static declaration

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c

index 1ff16e28a727373818d5cd4a6e94f19dfaeb7ba2..ad1a1b6f4d6bb5e2bce34c04eb3b37ffe97726e8 100644 (file)
@@ -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;