diff options
author | Rick Farrington <ricardo.farrington@cavium.com> | 2017-03-13 12:07:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-16 20:15:20 -0700 |
commit | b229487b36a418c755eab6485aae74582d52d4a4 (patch) | |
tree | f078689c3fcf28d4c3632d506dd2351b5fa8ea4b /tools/kvm | |
parent | 5080f39e8c72e01cf37e8359023e7018e2a4901e (diff) |
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 'tools/kvm')
0 files changed, 0 insertions, 0 deletions