]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6655: Change return type of function and remove variable
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Fri, 31 May 2019 17:32:26 +0000 (23:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2019 12:19:33 +0000 (14:19 +0200)
commit0f0375cafdc72349f7ff17066e2352c0537e77fe
treec0776acf07446965fa1f876ffcf0d410781c33d0
parente2504f5748f809346e26673ca4cb1f8986ca6650
staging: vt6655: Change return type of function and remove variable

Remove return variable bResult from function CARDbRadioPowerOff and
change the return type of the function to void as it always returns true
and the return value is never stored nor checked when called.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/card.c
drivers/staging/vt6655/card.h