]> git.baikalelectronics.ru Git - kernel.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)
commit526d4f50512242b3d7d8ba14d33e171be0167d15
treef0b2d8d9d2c9f87a8f62002a57c9ce8538ad7257
parent767b6adeb2f6dfdd406882faacdea0c8b3b6f58e
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