Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1539101 > unrolled thread

[PATCH] staging: i4l :fixed coding style

Started byTabrez khan <khan.tabrez21@gmail.com>
First post2016-12-09 06:40 +0100
Last post2016-12-09 06:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] staging: i4l :fixed coding style Tabrez khan <khan.tabrez21@gmail.com> - 2016-12-09 06:40 +0100

#1539101 — [PATCH] staging: i4l :fixed coding style

FromTabrez khan <khan.tabrez21@gmail.com>
Date2016-12-09 06:40 +0100
Subject[PATCH] staging: i4l :fixed coding style
Message-ID<sMm4x-7Lb-1@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web