Staging: hv: fix brace coding style issue in Channel.c
authorChris Nicholson <chris.nicholson@cnick.org.uk>
Sat, 20 Feb 2010 20:36:23 +0000 (20:36 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:37 +0000 (16:42 -0800)
This is a patch to the Channel.c file that fixes up a brace
warning found by checkpatch.pl

Signed-off-by: Chris Nicholson <chris.nicholson@cnick.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Channel.c

index 746370e82115ce30ea1b99973dc3016d5d9cd862..d46eb145484f1f24a5d70322baa1732fd5c01022 100644 (file)
@@ -991,9 +991,8 @@ void VmbusChannelOnTimer(unsigned long data)
 {
        struct vmbus_channel *channel = (struct vmbus_channel *)data;
 
-       if (channel->OnChannelCallback) {
+       if (channel->OnChannelCallback)
                channel->OnChannelCallback(channel->ChannelCallbackContext);
-       }
 }
 
 /**