• Arnd Bergmann's avatar
    mic: remove unused function arg · 9d32f82e
    Arnd Bergmann authored
    When building with W=1, the __scif_rma_destroy_tcw function
    causes a harmless warning about an argument variable that is
    modified but not used:
    
    drivers/misc/mic/scif/scif_dma.c: In function ‘__scif_rma_destroy_tcw’:
    drivers/misc/mic/scif/scif_dma.c:118:27: error: parameter ‘ep’ set but not used [-Werror=unused-but-set-parameter]
    
    In this case, we can just remove the argument, since all callers
    are in the same file.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    9d32f82e
scif_dma.c 52.8 KB