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

Jaap Crezee jaap at jcz.nl
Wed Sep 21 21:53:06 UTC 2011


Fixed coding style issue, removed unneeded braces.

Signed-off-by: Jaap Crezee <jaap at jcz.nl>
---
 drivers/staging/hv/connection.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/hv/connection.c b/drivers/staging/hv/connection.c
index e6b4039..0662a3b 100644
--- a/drivers/staging/hv/connection.c
+++ b/drivers/staging/hv/connection.c
@@ -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);
-	}
 }
 
 /*
-- 
1.7.6.3




More information about the devel mailing list