]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rts5208: Remove unnecessary parentheses.
authorGulsah Kose <gulsah.1004@gmail.com>
Wed, 12 Mar 2014 19:13:53 +0000 (21:13 +0200)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Fri, 14 Mar 2014 00:37:01 +0000 (17:37 -0700)
Return is not a method and doesn't need parentheses. Removed unnecaasary
parentheses.

Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/staging/rts5208/rtsx_card.c

index 3055eb10c076ce06a915a8ae695cc419a10f377f..941ea1be14c480818e2f437baaf192c9e447de35 100644 (file)
@@ -624,7 +624,7 @@ void rtsx_init_cards(struct rtsx_chip *chip)
 
 static inline u8 double_depth(u8 depth)
 {
-       return ((depth > 1) ? (depth - 1) : depth);
+       return (depth > 1) ? (depth - 1) : depth;
 }
 
 int switch_ssc_clock(struct rtsx_chip *chip, int clk)