Skip to contentSkip to conversation

staging: rtl8723bs: Fix trailing semicolon

PATCH Superseded Luis de Bethencourt 2 participants 3 messages Jan 9, 2018 Staging

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: rtl8723bs: Fix trailing semicolon

Fix trailing semicolon.

---

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(-)
drivers/staging/rtl8723bs/os_dep/ioctl_linux.c +1 -1
index 3fca0c2d4c8d..da59496f6e04 100644
@@ -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;
 	}
Signature · 1 line
2.15.1
#1 lore raw
Quoted 1 line · Luis de Bethencourt

Fix trailing semicolon.

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

#2 lore raw
Quoted 5 lines · Greg Kroah-Hartman
Quoted 1 line · Luis de Bethencourt

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