Fixed coding style issue, removed unneeded braces.

Signed-off-by: Jaap Crezee <[email protected]>
---
 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

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to