All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: i4l :fixed coding style
@ 2016-12-09  5:36 Tabrez khan
  2017-01-03 15:25 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Tabrez khan @ 2016-12-09  5:36 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel

Remove braces {} for single if statement block.

Signed-off-by: Tabrez khan <khan.tabrez21@gmail.com>
---
 drivers/staging/i4l/act2000/module.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/i4l/act2000/module.c b/drivers/staging/i4l/act2000/module.c
index 99c9c0a..fc14de4 100644
--- a/drivers/staging/i4l/act2000/module.c
+++ b/drivers/staging/i4l/act2000/module.c
@@ -372,9 +372,8 @@ act2000_command(act2000_card *card, isdn_ctrl *c)
 		if (!(chan = find_channel(card, c->arg & 0x0f)))
 			break;
 		if (strlen(c->parm.num)) {
-			if (card->ptype == ISDN_PTYPE_EURO) {
+			if (card->ptype == ISDN_PTYPE_EURO)
 				chan->eazmask = act2000_find_msn(card, c->parm.num, 0);
-			}
 			if (card->ptype == ISDN_PTYPE_1TR6) {
 				int i;
 				chan->eazmask = 0;
-- 
2.7.4

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

* Re: [PATCH] staging: i4l :fixed coding style
  2016-12-09  5:36 [PATCH] staging: i4l :fixed coding style Tabrez khan
@ 2017-01-03 15:25 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2017-01-03 15:25 UTC (permalink / raw)
  To: Tabrez khan; +Cc: devel, linux-kernel

On Fri, Dec 09, 2016 at 11:06:26AM +0530, Tabrez khan wrote:
> Remove braces {} for single if statement block.
> 
> Signed-off-by: Tabrez khan <khan.tabrez21@gmail.com>
> ---
>  drivers/staging/i4l/act2000/module.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

This patch doesn't apply cleanly, can you refresh your tree and resend
it?

thanks,

greg k-h

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

end of thread, other threads:[~2017-01-03 15:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-09  5:36 [PATCH] staging: i4l :fixed coding style Tabrez khan
2017-01-03 15:25 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.