lkml.org 
[lkml]   [2011]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/3] Staging: hv: connection: fixed coding style issue
Date
Fixed coding style issue, removed unneeded braces.

Signed-off-by: Jaap Crezee <jaap@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


\
 
 \ /
  Last update: 2011-09-21 23:55    [W:0.030 / U:1.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site