OSDN Git Service

staging: ks7010: change static function return type
authorTobin C. Harding <me@tobin.cc>
Mon, 10 Apr 2017 03:15:44 +0000 (13:15 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 14:03:36 +0000 (16:03 +0200)
commitfa740a9e2e19708bc38993375da671c979082095
tree3c435ad5232103f31156999233c1e0848e68d961
parent638a75b653c208ff86adeba8fa770685721343e9
staging: ks7010: change static function return type

Function has return type 'int'. Function has internal linkage. Function
returns 0 on all execution paths. Function is called only once in the
driver and the return value is not checked. Removal of this return
value does not change the program logic. The 'int' return type is not
adding any information thus it is better to remove it.

Change return type of function with internal linkage from 'int' to
'void'.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c