aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/cxgb2.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2006-12-11 17:49:13 -0500
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 bb11b111335b..689b91c77465 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)
1292 if (!t1_is_T1B(adapter)) 1292 if (!t1_is_T1B(adapter))
1293 return -ENODEV; /* Can't re-clock this chip. */ 1293 return -ENODEV; /* Can't re-clock this chip. */
1294 1294
1295 if (mode & 2) { 1295 if (mode & 2)
1296 return 0; /* show current mode. */ 1296 return 0; /* show current mode. */
1297 }
1298 1297
1299 if ((adapter->t1powersave & 1) == (mode & 1)) 1298 if ((adapter->t1powersave & 1) == (mode & 1))
1300 return -EALREADY; /* ASIC already running in mode. */ 1299 return -EALREADY; /* ASIC already running in mode. */