From: Tapasweni Pathak Date: Sat, 20 Sep 2014 23:51:58 +0000 (+0530) Subject: Staging: rtl8712: remove break after return statement X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=730cb373f3aaf7be69f59db6999e1e07f18117c2;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Staging: rtl8712: remove break after return statement 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c index e1e95cf48302..3ce48aee750f 100644 --- a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c +++ b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c @@ -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: