]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: rts5208: remove unncessary result set and check, just return SUCCESS
authorColin Ian King <colin.king@canonical.com>
Thu, 2 Feb 2017 12:12:02 +0000 (12:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2017 12:01:36 +0000 (13:01 +0100)
commitde9a009b934a14b24d125e9ee150e2855580c3da
treef0b2d8d9d2c9f87a8f62002a57c9ce8538ad7257
parent041b67b389fc0118015e5adc62725d89127dcc71
staging: rts5208: remove unncessary result set and check, just return SUCCESS

Minor clean up, there is no need to assign result to zero, then
check if it is less than zero. Just return SUCCESS.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx.c