Skip to contentSkip to conversation

staging: i4l :fixed coding style

PATCH In review Tabrez khan 2 participants 2 messages Dec 9, 2016 – Jan 3, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: i4l :fixed coding style

Remove braces {} for single if statement block.

---
 drivers/staging/i4l/act2000/module.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/i4l/act2000/module.c +1 -2
index 99c9c0a..fc14de4 100644
@@ -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;
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 6 lines · Tabrez khan

Remove braces {} for single if statement block.

---
 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