OSDN Git Service

staging: qlge: Remove useless dma synchronization calls
authorBenjamin Poirier <bpoirier@suse.com>
Fri, 27 Sep 2019 10:12:01 +0000 (19:12 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2019 15:17:45 +0000 (17:17 +0200)
commitcf1c2987bfd890a9c4ef3f174ed6148ec9b2b622
treed5382f0bec257392f47c9f754d4e839026e40595
parent16714d98bf631909864f7eacd591ab5f7cf1588c
staging: qlge: Remove useless dma synchronization calls

This is unneeded for two reasons:
1) the cpu does not write data for the device in the mapping
2) calls like ..._sync_..._for_device(..., ..._FROMDEVICE) are
   nonsensical, see commit 3f0fb4e85b38 ("Documentation/DMA-API-HOWTO.txt:
   fix misleading example")

Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Link: https://lore.kernel.org/r/20190927101210.23856-8-bpoirier@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/qlge/qlge_main.c