]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Remove inflight list
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Wed, 19 Apr 2017 17:44:58 +0000 (13:44 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Apr 2017 17:33:53 +0000 (13:33 -0400)
commit6e5990d3a69f7575ee82e7b80c4058b40cb2fdf9
treeaf31fcd658483657cc91e800b5185dea56a66778
parentc96b17810eae4636ca29248ee38729cb959322b1
ibmvnic: Remove inflight list

The inflight list used to track memory that is allocated for crq that are
inflight is not needed. The one piece of the inflight list that does need
to be cleaned at module exit is the error buffer list which is already
attached to the adapter struct.

This patch removes the inflight list and moves checking the error buffer
list to ibmvnic_remove.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/ibm/ibmvnic.h