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


Groups > linux.kernel > #1539101

[PATCH] staging: i4l :fixed coding style

From Tabrez khan <khan.tabrez21@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] staging: i4l :fixed coding style
Date 2016-12-09 06:40 +0100
Message-ID <sMm4x-7Lb-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web