summaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/cxgb2.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2006-12-11 23:49:13 +0100
committerJeff Garzik <jeff@garzik.org>2007-02-05 16:58:43 -0500
commitd7487421b629c5ca71ce23b10461ef0c3ad2c741 (patch)
tree74266cf994c43ff84b7c3bd713213485d0f998aa /drivers/net/chelsio/cxgb2.c
parent356bd1460d1e1c4e433e4114fdac02139bddf17c (diff)
chelsio: useless curly braces
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/chelsio/cxgb2.c')
-rw-r--r--drivers/net/chelsio/cxgb2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/chelsio/cxgb2.c b/drivers/net/chelsio/cxgb2.c
index bb11b111335..689b91c7746 100644
--- a/drivers/net/chelsio/cxgb2.c
+++ b/drivers/net/chelsio/cxgb2.c
@@ -1292,9 +1292,8 @@ static int t1_clock(struct adapter *adapter, int mode)
if (!t1_is_T1B(adapter))
return -ENODEV; /* Can't re-clock this chip. */
- if (mode & 2) {
+ if (mode & 2)
return 0; /* show current mode. */
- }
if ((adapter->t1powersave & 1) == (mode & 1))
return -EALREADY; /* ASIC already running in mode. */