]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: ccree: remove unused function argument
authorArnd Bergmann <arnd@arndb.de>
Sun, 14 May 2017 06:36:08 +0000 (09:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 10:18:51 +0000 (12:18 +0200)
commit6c5ed91b0ca6480642eed4fd9862e2bb238f35ae
treebe3da959d40dd4d5bfdf9ca67edb3aeb7993301c
parentbe2496ffbea74c4d2ec49e4a9d9a37c6a1f0462c
staging: ccree: remove unused function argument

"gcc -Wunused" warns about one argument being assigned but not used:

drivers/staging/ccree/ssi_cipher.c: In function 'ssi_blkcipher_complete':
drivers/staging/ccree/ssi_cipher.c:747:41: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]

We can simply drop that argument here and in its callers.

Fixes: 302ef8ebb4b2 ("staging: ccree: add skcipher support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[ gby: rebased patch on latest revision and chopped >80 chars long lines ]
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_cipher.c