staging: rtl8712: Remove return variable of different type
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Wed, 29 May 2019 13:24:57 +0000 (18:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2019 21:13:45 +0000 (14:13 -0700)
commitdb622e05cdbe11ff908268c8eb4bffb972daedb7
tree47c3373e5d0669d15800c7513b3eedfeaa0b7dc0
parenteb2b3edfd427d11e9553aaf772b40fb18e42fbba
staging: rtl8712: Remove return variable of different type

The local return variable ret may be replaced directly by its value,
especially since its type (uint) is not the same as the function's
return type (int).
Issue found with Coccinelle.

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