]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Merge the two release_sub_crq_queue routines
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Thu, 30 Mar 2017 06:49:18 +0000 (02:49 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Mar 2017 22:58:42 +0000 (15:58 -0700)
commit08aadbb8f16a588ec35a8eb56aff22c022943e2f
treebe6109d4e2e43a3b195e5a8857c86383a7003b16
parentcc724ae64501a32e5c8639dbd5497a81c3ad81fe
ibmvnic: Merge the two release_sub_crq_queue routines

Keeping two routines for releasing sub crqs, one for when irqs are not
initialized and one for when they are, is a bit of overkill. Merge the
two routines to a common release routine that will check for an irq
and release it if needed.

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