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)
commitd7255ba4d648a6da72b740f69c615a61247b1633
treec0776acf07446965fa1f876ffcf0d410781c33d0
parentee598a61ec75a57c71531e76a29a7e7ff54e8573
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