2018-01-09 16:17:27

by Luis de Bethencourt

[permalink] [raw]
Subject: [PATCH v2] staging: rtl8723bs: Fix trailing semicolon

Fix trailing semicolon.

Signed-off-by: Luis de Bethencourt <[email protected]>
---

Changes since v1:
- Added a changelog body to the commit message

drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
index 3fca0c2d4c8d..da59496f6e04 100644
--- a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
+++ b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
@@ -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;
}
--
2.15.1


2018-01-09 16:46:29

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH v2] staging: rtl8723bs: Fix trailing semicolon

On Tue, Jan 09, 2018 at 04:17:01PM +0000, Luis de Bethencourt wrote:
> Fix trailing semicolon.

Please be more explicit. That says what it does, but not _why_ :)

2018-01-09 16:52:29

by Luis de Bethencourt

[permalink] [raw]
Subject: Re: [PATCH v2] staging: rtl8723bs: Fix trailing semicolon

On 01/09/2018 04:46 PM, Greg Kroah-Hartman wrote:
> On Tue, Jan 09, 2018 at 04:17:01PM +0000, Luis de Bethencourt wrote:
>> Fix trailing semicolon.
>
> Please be more explicit. That says what it does, but not _why_ :)
>

After walking around with my head down in shame I sent a new version.

Thanks!
Luis