summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cavium/liquidio/lio_main.c
diff options
context:
space:
mode:
authorRick Farrington <ricardo.farrington@cavium.com>2017-03-13 22:07:32 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-17 06:15:20 +0300
commitb229487b36a418c755eab6485aae74582d52d4a4 (patch)
treef078689c3fcf28d4c3632d506dd2351b5fa8ea4b /drivers/net/ethernet/cavium/liquidio/lio_main.c
parent5080f39e8c72e01cf37e8359023e7018e2a4901e (diff)
downloadlinux-b229487b36a418c755eab6485aae74582d52d4a4.tar.xz
liquidio: remove/replace invalid code
Remove invalid call to dma_sync_single_for_cpu() because previous DMA allocation was coherent--not streaming. Remove code that references fields in struct list_head; replace it with calls to list_empty() and list_first_entry(). Also, add comment to clarify complicated if statement. Signed-off-by: Rick Farrington <ricardo.farrington@cavium.com> Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: Derek Chickles <derek.chickles@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/liquidio/lio_main.c')
0 files changed, 0 insertions, 0 deletions