diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-12-09 15:24:12 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-12-12 22:25:21 +0530 |
commit | 56c492f34110f85d6af3686df48755b85a912827 (patch) | |
tree | e267c0a20f2c91c3ee93e221d9906b40b3316ffb /drivers/dma/ioat/dma.c | |
parent | d07c9e1e212c9687f9198bfeba582e86cae3f6f9 (diff) | |
download | op-kernel-dev-56c492f34110f85d6af3686df48755b85a912827.zip op-kernel-dev-56c492f34110f85d6af3686df48755b85a912827.tar.gz |
dmaengine: ioat: remove unused ‘is_raid_device’
In ioat3_dma_probe(), variable ‘is_raid_device’ is initialized but never
used, which leads to warning with W=1
drivers/dma/ioat/init.c: In function ‘ioat3_dma_probe’:
drivers/dma/ioat/init.c:1084:7: warning: variable ‘is_raid_device’ set
but not used [-Wunused-but-set-variable]
bool is_raid_device = false;
So remove it.
Cc: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ioat/dma.c')
0 files changed, 0 insertions, 0 deletions