commit | 56c492f34110f85d6af3686df48755b85a912827 | [log] [tgz] |
---|---|---|
author | Vinod Koul <vinod.koul@intel.com> | Fri Dec 09 15:24:12 2016 +0530 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Dec 12 22:25:21 2016 +0530 |
tree | e267c0a20f2c91c3ee93e221d9906b40b3316ffb | |
parent | d07c9e1e212c9687f9198bfeba582e86cae3f6f9 [diff] |
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>