]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: rtl8712: remove break after return statement
authorTapasweni Pathak <tapaswenipathak@gmail.com>
Sat, 20 Sep 2014 23:51:58 +0000 (05:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Sep 2014 15:02:06 +0000 (08:02 -0700)
This patch fixes checkpatch.pl warning in rtl871x_ioctl_linux.c file
WARNING : break is not useful after goto or return

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_ioctl_linux.c

index e1e95cf4830261f5aede0638637b53e2ddbf379d..3ce48aee750ffbd23bc812641d6aeda74dca0b83 100644 (file)
@@ -2144,7 +2144,6 @@ static int wpa_set_param(struct net_device *dev, u8 name, u32 value)
                break;
        case IEEE_PARAM_AUTH_ALGS:
                return wpa_set_auth_algs(dev, value);
-               break;
        case IEEE_PARAM_IEEE_802_1X:
                break;
        case IEEE_PARAM_WPAX_SELECT: