* [PATCH] Staging: emxx_udc: emxx_udc: Fixed a coding style error
@ 2019-03-26 13:47 Will Cunningham
2019-03-27 14:38 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Will Cunningham @ 2019-03-26 13:47 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel, dan.carpenter
Removed unnecessary parentheses.
Signed-off-by: Will Cunningham <wjcunningham7@gmail.com>
---
drivers/staging/emxx_udc/emxx_udc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c
index a913d40f0801..80a906742cdc 100644
--- a/drivers/staging/emxx_udc/emxx_udc.c
+++ b/drivers/staging/emxx_udc/emxx_udc.c
@@ -136,7 +136,7 @@ static void _nbu2ss_ep0_complete(struct usb_ep *_ep, struct usb_request *_req)
struct usb_ctrlrequest *p_ctrl;
struct nbu2ss_udc *udc;
- if ((!_ep) || (!_req))
+ if (!_ep || !_req)
return;
udc = (struct nbu2ss_udc *)_req->context;
--
2.19.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: emxx_udc: emxx_udc: Fixed a coding style error
2019-03-26 13:47 [PATCH] Staging: emxx_udc: emxx_udc: Fixed a coding style error Will Cunningham
@ 2019-03-27 14:38 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2019-03-27 14:38 UTC (permalink / raw)
To: Will Cunningham; +Cc: devel, linux-kernel, dan.carpenter
On Tue, Mar 26, 2019 at 09:47:23AM -0400, Will Cunningham wrote:
> Removed unnecessary parentheses.
>
> Signed-off-by: Will Cunningham <wjcunningham7@gmail.com>
> ---
> drivers/staging/emxx_udc/emxx_udc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Someone else sent this patch right before you did, sorry.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-27 18:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26 13:47 [PATCH] Staging: emxx_udc: emxx_udc: Fixed a coding style error Will Cunningham
2019-03-27 14:38 ` Greg KH
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).