From: Malcolm Priestley Date: Wed, 25 Jun 2014 20:20:04 +0000 (+0100) Subject: staging: vt6656: remove old rx receive list X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=999bde63069760ad71af2951b0fa189380f7ac28;p=linux-beck.git staging: vt6656: remove old rx receive list Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index a1450810383d..5be96ae980f5 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -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 */ diff --git a/drivers/staging/vt6656/dpc.c b/drivers/staging/vt6656/dpc.c index ceeb3eeeb954..5ac5bcde0458 100644 --- a/drivers/staging/vt6656/dpc.c +++ b/drivers/staging/vt6656/dpc.c @@ -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, diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 56bdf9dca511..66f9a54922bb 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -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;