• Vinod Koul's avatar
    dmaengine: pl330: remove unused ‘regs’ · 920e00d6
    Vinod Koul authored
    In pl330_add(), variable ‘regs’ is initialized but never used, which
    leads to warning with W=1.
    
    drivers/dma/pl330.c: In function 'pl330_add':
    drivers/dma/pl330.c:1891:16: warning: variable 'regs' set but not used [-Wunused-but-set-variable]
    
    So remove it.
    
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
    920e00d6
pl330.c 68.2 KB