mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tabrez khan <khan.tabrez21@gmail.com>
To: gregkh@linuxfoundation.org
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [PATCH] staging: i4l :fixed coding style
Date: Fri,  9 Dec 2016 11:06:26 +0530	[thread overview]
Message-ID: <1481261786-3694-1-git-send-email-khan.tabrez21@gmail.com> (raw)

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

             reply	other threads:[~2016-12-09  5:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-09  5:36 Tabrez khan [this message]
2017-01-03 15:25 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1481261786-3694-1-git-send-email-khan.tabrez21@gmail.com \
    --to=khan.tabrez21@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome