linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] staging: rtl8192e: remove brace for single statement
@ 2018-06-09  6:05 thtlwlsmsgkfla
  2018-06-15 11:08 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: thtlwlsmsgkfla @ 2018-06-09  6:05 UTC (permalink / raw)
  To: gregkh
  Cc: davem, colin.king, johannes.berg, Linyu.Yuan, keescook, tvboxspy,
	devel, linux-kernel, kernel-janitors

* fix checkpatch.pl warning:
  WARNING: braces { are not necessary for single statement blocks

Signed-off-by: Hyunil Kim <thtlwlsmsgkfla@gmail.com>
---
 drivers/staging/rtl8192e/rtllib_softmac.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c
index 919231f..d172e87 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac.c
@@ -1355,9 +1355,8 @@ rtllib_association_req(struct rtllib_network *beacon,
 		rtllib_WMM_Info(ieee, &tag);
 	}
 
-	if (wps_ie_len && ieee->wps_ie) {
+	if (wps_ie_len && ieee->wps_ie)
 		skb_put_data(skb, ieee->wps_ie, wps_ie_len);
-	}
 
 	if (turbo_info_len) {
 		tag = skb_put(skb, turbo_info_len);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] staging: rtl8192e: remove brace for single statement
  2018-06-09  6:05 [PATCH 1/2] staging: rtl8192e: remove brace for single statement thtlwlsmsgkfla
@ 2018-06-15 11:08 ` Greg KH
  2018-06-16  4:24   ` 김현일
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2018-06-15 11:08 UTC (permalink / raw)
  To: thtlwlsmsgkfla
  Cc: devel, keescook, johannes.berg, tvboxspy, kernel-janitors,
	linux-kernel, Linyu.Yuan, colin.king, davem

On Sat, Jun 09, 2018 at 03:05:56PM +0900, thtlwlsmsgkfla@gmail.com wrote:
> * fix checkpatch.pl warning:
>   WARNING: braces { are not necessary for single statement blocks
> 
> Signed-off-by: Hyunil Kim <thtlwlsmsgkfla@gmail.com>

This does not match your "From:" line in your email headers :(


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] staging: rtl8192e: remove brace for single statement
  2018-06-15 11:08 ` Greg KH
@ 2018-06-16  4:24   ` 김현일
  0 siblings, 0 replies; 3+ messages in thread
From: 김현일 @ 2018-06-16  4:24 UTC (permalink / raw)
  To: Greg KH
  Cc: devel, Kees Cook, johannes.berg, Malcolm Priestley,
	kernel-janitors, linux-kernel, Linyu.Yuan, Colin King, davem

Thanks greg.
Let me check and send again
regards
Hyunil Kim

On Fri, Jun 15, 2018 at 8:08 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Sat, Jun 09, 2018 at 03:05:56PM +0900, thtlwlsmsgkfla@gmail.com wrote:
>> * fix checkpatch.pl warning:
>>   WARNING: braces { are not necessary for single statement blocks
>>
>> Signed-off-by: Hyunil Kim <thtlwlsmsgkfla@gmail.com>
>
> This does not match your "From:" line in your email headers :(
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-16  4:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-09  6:05 [PATCH 1/2] staging: rtl8192e: remove brace for single statement thtlwlsmsgkfla
2018-06-15 11:08 ` Greg KH
2018-06-16  4:24   ` 김현일

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).