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 | eef2c22cc3397bb8cf9f47226241fc65c04339aa (patch) | |
tree | 583ebfd2cbb796f215ee30e6781d6135dee6cefb /drivers/dma/sh/usb-dmac.c | |
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>
Diffstat (limited to 'drivers/dma/sh/usb-dmac.c')
0 files changed, 0 insertions, 0 deletions