mic: remove unused function arg
authorArnd Bergmann <arnd@arndb.de>
Thu, 16 Jun 2016 11:38:24 +0000 (13:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2016 12:45:50 +0000 (14:45 +0200)
commit9d32f82e040a823a584446cd9a7066390bf911fa
tree23ef67bcffe570131d7a228ee7caabc15d5286d9
parente728ae271f4cf71218ec06a6daf61b79466cb466
mic: remove unused function arg

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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/scif/scif_dma.c