Commit 999bde63 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: remove old rx receive list

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 97b9cd8d
......@@ -245,7 +245,6 @@ struct vnt_rcb {
signed long Ref;
void *pDevice;
struct urb *pUrb;
struct vnt_rx_mgmt sMngPacket;
struct sk_buff *skb;
int bBoolInUse;
};
......@@ -454,9 +453,7 @@ struct vnt_private {
struct vnt_rcb *FirstRecvFreeList;
struct vnt_rcb *LastRecvFreeList;
u32 NumRecvFreeList;
struct vnt_rcb *FirstRecvMngList;
struct vnt_rcb *LastRecvMngList;
u32 NumRecvMngList;
int bIsRxWorkItemQueued;
int bIsRxMngWorkItemQueued;
unsigned long ulRcvRefCount; /* packets that have not returned back */
......
......@@ -108,8 +108,8 @@ void RXvFreeRCB(struct vnt_rcb *rcb, int re_alloc_skb)
schedule_work(&priv->read_work_item);
}
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"<----RXFreeRCB %d %d\n",
priv->NumRecvFreeList, priv->NumRecvMngList);
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"<----RXFreeRCB %d\n",
priv->NumRecvFreeList);
}
int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb,
......
......@@ -634,8 +634,6 @@ static bool device_alloc_bufs(struct vnt_private *priv)
priv->FirstRecvFreeList = NULL;
priv->LastRecvFreeList = NULL;
priv->FirstRecvMngList = NULL;
priv->LastRecvMngList = NULL;
priv->NumRecvFreeList = 0;
rcb = (struct vnt_rcb *)priv->pRCBMem;
......
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