public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] Staging: hv: connection: fixed coding style issue
@ 2011-09-21 21:53 Jaap Crezee
  2011-09-27  0:30 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Jaap Crezee @ 2011-09-21 21:53 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, hjanssen, haiyangz, kys, v-abkane,
	Jaap Crezee

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-27  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-21 21:53 [PATCH 2/3] Staging: hv: connection: fixed coding style issue Jaap Crezee
2011-09-27  0:30 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox