commit | eef2c22cc3397bb8cf9f47226241fc65c04339aa | [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 | 583ebfd2cbb796f215ee30e6781d6135dee6cefb | |
parent | 4cc8044148e7c3b1de3074b061d5b1aa224f3635 [diff] |
dmaengine: ioat: remove unused ‘res’ In __cleanup(), variable ‘res’ is initialized but never used, which leads to warning with W=1 drivers/dma/ioat/dma.c: In function ‘__cleanup’: drivers/dma/ioat/dma.c:614:28: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] struct dmaengine_result res; So remove it. Cc: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>