Staging: rtl8192: Simplifying if-else statement
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Fri, 20 Feb 2015 17:14:30 +0000 (18:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2015 23:12:10 +0000 (15:12 -0800)
commitd0049dfc88d18657da302023782473b615f3fcf4
tree7f219069ae4987335635bb341446b5102e7dcebb
parent1f3aefb5dfcaf28c0a0b5c270ca120818da88f58
Staging: rtl8192: Simplifying if-else statement

This patch simplifies the code by not having two identical paths and
fixes the warning given by checkpatch.pl: "else is not useful after
a break or return".

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r819xU_phy.c