lkml.org 
[lkml]   [2011]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 9/9] Staging: Winbond: Reposition a curly bracket.
Date
The curly bracket preceding the body of a conditional statement should
be on the same line as the conditional statement according to the
kernel's coding style.

Signed-off-by: Akshay Joshi <me@akshayjoshi.com>
---
drivers/staging/winbond/wb35tx.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/winbond/wb35tx.c b/drivers/staging/winbond/wb35tx.c
index a06212a..20bf966 100644
--- a/drivers/staging/winbond/wb35tx.c
+++ b/drivers/staging/winbond/wb35tx.c
@@ -138,8 +138,7 @@ unsigned char Wb35Tx_initial(struct hw_data *pHwData)
return false;

pWb35Tx->Tx2Urb = usb_alloc_urb(0, GFP_ATOMIC);
- if (!pWb35Tx->Tx2Urb)
- {
+ if (!pWb35Tx->Tx2Urb) {
usb_free_urb(pWb35Tx->Tx4Urb);
return false;
}
--
1.7.5.4


\
 
 \ /
  Last update: 2011-08-16 02:29    [from the cache]
©2003-2011 Jasper Spaans