Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vt6656: rename PIPEnsSendBulkOut to vnt_tx_context.

We are just tx the context

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

authored by

Malcolm Priestley and committed by
Greg Kroah-Hartman
476e7d97 34f98e3f

+4 -5
+2 -2
drivers/staging/vt6656/rxtx.c
··· 928 928 929 929 spin_lock_irqsave(&priv->lock, flags); 930 930 931 - if (PIPEnsSendBulkOut(priv, tx_context) != STATUS_PENDING) { 931 + if (vnt_tx_context(priv, tx_context) != STATUS_PENDING) { 932 932 spin_unlock_irqrestore(&priv->lock, flags); 933 933 return -EIO; 934 934 } ··· 1022 1022 1023 1023 spin_lock_irqsave(&priv->lock, flags); 1024 1024 1025 - if (PIPEnsSendBulkOut(priv, context) != STATUS_PENDING) 1025 + if (vnt_tx_context(priv, context) != STATUS_PENDING) 1026 1026 ieee80211_free_txskb(priv->hw, context->skb); 1027 1027 1028 1028 spin_unlock_irqrestore(&priv->lock, flags);
+1 -1
drivers/staging/vt6656/usbpipe.c
··· 337 337 * 338 338 */ 339 339 340 - int PIPEnsSendBulkOut(struct vnt_private *priv, 340 + int vnt_tx_context(struct vnt_private *priv, 341 341 struct vnt_usb_send_context *context) 342 342 { 343 343 int status;
+1 -2
drivers/staging/vt6656/usbpipe.h
··· 40 40 41 41 int vnt_start_interrupt_urb(struct vnt_private *); 42 42 int PIPEnsBulkInUsbRead(struct vnt_private *, struct vnt_rcb *pRCB); 43 - int PIPEnsSendBulkOut(struct vnt_private *, 44 - struct vnt_usb_send_context *pContext); 43 + int vnt_tx_context(struct vnt_private *, struct vnt_usb_send_context *); 45 44 46 45 #endif /* __USBPIPE_H__ */