• Vinod Koul's avatar
    dmaengine: ioat: remove unused ‘res’ · eef2c22c
    Vinod Koul authored
    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: default avatarVinod Koul <vinod.koul@intel.com>
    eef2c22c
dma.c 26.9 KB