lkml.org 
[lkml]   [2016]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] staging: i4l :fixed coding style
Date
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
\
 
 \ /
  Last update: 2016-12-09 06:37    [W:0.054 / U:1.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site