]> git.baikalelectronics.ru Git - kernel.git/commit
liquidio: use list_empty_careful in lio_list_delete_head
authorGeliang Tang <geliangtang@gmail.com>
Sun, 28 Jun 2020 10:14:13 +0000 (18:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jun 2020 04:46:33 +0000 (21:46 -0700)
commitc1fae1e14f1d5f7d66fb6be96b11a79f18fadb5f
treeb9dee8b96d88fb37f676ad572f35be7ace1560f5
parenta19e08c84c325481498d15c2cccf357927862cef
liquidio: use list_empty_careful in lio_list_delete_head

Use list_empty_careful() instead of open-coding.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/octeon_network.h