Commit 1a48e8c4 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6655: s_cbFillTxBufHead remove unused parameters

Remove the following parameters
PSEthernetHeader psEthHeader
PSKeyItem pTransmitKey
bool bNeedEncrypt
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d829163f
...@@ -138,9 +138,8 @@ static unsigned int ...@@ -138,9 +138,8 @@ static unsigned int
s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType, s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType,
unsigned char *pbyTxBufferAddr, unsigned int cbFrameBodySize, unsigned char *pbyTxBufferAddr, unsigned int cbFrameBodySize,
unsigned int uDMAIdx, PSTxDesc pHeadTD, unsigned int uDMAIdx, PSTxDesc pHeadTD,
PSEthernetHeader psEthHeader, unsigned char *pPacket, unsigned char *pPacket, unsigned int uNodeIndex,
bool bNeedEncrypt, PSKeyItem pTransmitKey, unsigned int *puMACfragNum);
unsigned int uNodeIndex, unsigned int *puMACfragNum);
static static
__le16 __le16
...@@ -1041,9 +1040,8 @@ static unsigned int ...@@ -1041,9 +1040,8 @@ static unsigned int
s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType, s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType,
unsigned char *pbyTxBufferAddr, unsigned int cbFrameBodySize, unsigned char *pbyTxBufferAddr, unsigned int cbFrameBodySize,
unsigned int uDMAIdx, PSTxDesc pHeadTD, unsigned int uDMAIdx, PSTxDesc pHeadTD,
PSEthernetHeader psEthHeader, unsigned char *pPacket, unsigned char *pPacket, unsigned int is_pspoll,
bool bNeedEncrypt, PSKeyItem pTransmitKey, unsigned int *puMACfragNum)
unsigned int is_pspoll, unsigned int *puMACfragNum)
{ {
PDEVICE_TD_INFO td_info = pHeadTD->pTDInfo; PDEVICE_TD_INFO td_info = pHeadTD->pTDInfo;
struct sk_buff *skb = td_info->skb; struct sk_buff *skb = td_info->skb;
...@@ -1413,8 +1411,8 @@ int vnt_generate_fifo_header(struct vnt_private *priv, u32 dma_idx, ...@@ -1413,8 +1411,8 @@ int vnt_generate_fifo_header(struct vnt_private *priv, u32 dma_idx,
tx_buffer_head->frag_ctl |= cpu_to_le16(FRAGCTL_NONFRAG); tx_buffer_head->frag_ctl |= cpu_to_le16(FRAGCTL_NONFRAG);
s_cbFillTxBufHead(priv, pkt_type, (u8 *)tx_buffer_head, skb->len, s_cbFillTxBufHead(priv, pkt_type, (u8 *)tx_buffer_head, skb->len,
dma_idx, head_td, NULL, (u8 *)skb->data, dma_idx, head_td, (u8 *)skb->data,
false, NULL, is_pspoll, &frag); is_pspoll, &frag);
if (info->control.hw_key) { if (info->control.hw_key) {
tx_key = info->control.hw_key; tx_key = info->control.hw_key;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment