diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-12-09 10:54:12 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-12-12 17:55:21 +0100 |
commit | 4cc8044148e7c3b1de3074b061d5b1aa224f3635 (patch) | |
tree | 834874f6743e575e61e51b95fb954e3f642ac7fe /lib | |
parent | dmaengine: ioat: remove unused ‘is_raid_device’ (diff) | |
download | linux-4cc8044148e7c3b1de3074b061d5b1aa224f3635.tar.xz linux-4cc8044148e7c3b1de3074b061d5b1aa224f3635.zip |
dmaengine: ioat: remove unused ‘ioat_dma’
In ioat_tx_submit_unlock(), variable ‘ioat_dma’ is initialized but never
used, which leads to warning with W=1
drivers/dma/ioat/dma.c: In function ‘ioat_alloc_ring_ent’:
drivers/dma/ioat/dma.c:341:25: warning: variable ‘ioat_dma’ set but not used [-Wunused-but-set-variable]
struct ioatdma_device *ioat_dma;
So remove it.
Cc: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions