]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: ks7010: rename identifier rc to ret
authorTobin C. Harding <me@tobin.cc>
Mon, 10 Apr 2017 03:15:41 +0000 (13:15 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 14:03:36 +0000 (16:03 +0200)
commit03b0244924795d30e1619894d8aa13c0fcfe233c
tree32a71fb02349979c240a0eb4f7d8596c21dab12d
parent881f76b976e8e1ce8bb0498d0a85f3a43a6397dd
staging: ks7010: rename identifier rc to ret

Driver uses identifier 'rc' to hold the value for error return
code. The rest of the driver predominately uses 'ret' for this
purpose. It is easier to follow the code if one name is used for one
task.

Rename identifier 'rc' to 'ret'.

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