Skip to contentSkip to conversation

Staging: hv: connection: fixed coding style issue

PATCH In review Jaap Crezee 2 participants 2 messages Sep 21, 2011 – Sep 27, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 Staging: hv: connection: fixed coding style issue

Fixed coding style issue, removed unneeded braces.

---
 drivers/staging/hv/connection.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
drivers/staging/hv/connection.c +2 -3
index e6b4039..0662a3b 100644
@@ -223,11 +223,10 @@ static void process_chn_event(u32 relid)
 	 */
 	channel = relid2channel(relid);
 
-	if (channel) {
+	if (channel)
 		channel->onchannel_callback(channel->channel_callback_context);
-	} else {
+	else
 		pr_err("channel not found for relid - %u\n", relid);
-	}
 }
 
 /*
Signature · 1 line
1.7.6.3
#1 lore raw
Quoted 1 line · Jaap Crezee

Fixed coding style issue, removed unneeded braces.

This no longer applies to the tree :(