staging: rtl8723bs: Fix trailing semicolon
authorLuis de Bethencourt <luisbg@kernel.org>
Tue, 9 Jan 2018 16:51:03 +0000 (16:51 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jan 2018 18:40:22 +0000 (19:40 +0100)
The trailing semicolon is an empty statement that does no operation.
Removing it since it doesn't do anything.

Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/ioctl_linux.c

index 3fca0c2..da59496 100644 (file)
@@ -967,7 +967,7 @@ static int rtw_wx_set_mode(struct net_device *dev, struct iw_request_info *a,
                        break;
 
                default :
-                       ret = -EINVAL;;
+                       ret = -EINVAL;
                        RT_TRACE(_module_rtl871x_ioctl_os_c, _drv_err_, ("\n Mode: %s is not supported \n", iw_operation_mode[wrqu->mode]));
                        goto exit;
        }