]> git.karo-electronics.de Git - linux-beck.git/commit
rsi: Move variable initialisation into error code
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 18 Mar 2016 02:27:31 +0000 (13:27 +1100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Apr 2016 16:37:48 +0000 (19:37 +0300)
commit37190b2694911552c09119e2b23e65049bf47a1e
tree026ce476294cdbcd4e97f3f7d08a3772fc096ba3
parentab2ef1d68f62d9e2ec6e494668f288fc000fe886
rsi: Move variable initialisation into error code

In rsi_send_data_pkt(), it's a little more logical to assign 'status' in
the actual error handling code as opposed to at the top of the functon.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
[Deleted controversial bits, rewrote commit message]
Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_pkt.c