]> git.baikalelectronics.ru Git - kernel.git/commit
staging: xillybus: Fixes related to "rc" variable
authorEli Billauer <eli.billauer@gmail.com>
Thu, 4 Sep 2014 14:47:48 +0000 (17:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 20:58:19 +0000 (13:58 -0700)
commit90dbbf12937534a5918190e5c38c8c24e1d14aa6
tree143245ba3c2e37ee419f84bc09965b83666e2b2e
parent75fc32c89e59619661887fdba15413ef29bb9ad8
staging: xillybus: Fixes related to "rc" variable

"rc" is often used to hold the return value of a function call. This patch
removes unnecessary assignments to this variable, and makes a few related
execution flow improvements.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xillybus/xillybus_core.c
drivers/staging/xillybus/xillybus_of.c
drivers/staging/xillybus/xillybus_pcie.c