diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2006-12-11 23:49:13 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-05 16:58:43 -0500 |
commit | d7487421b629c5ca71ce23b10461ef0c3ad2c741 (patch) | |
tree | 74266cf994c43ff84b7c3bd713213485d0f998aa /drivers/net/chelsio/cxgb2.c | |
parent | 356bd1460d1e1c4e433e4114fdac02139bddf17c (diff) | |
download | blackbird-op-linux-d7487421b629c5ca71ce23b10461ef0c3ad2c741.tar.gz blackbird-op-linux-d7487421b629c5ca71ce23b10461ef0c3ad2c741.zip |
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.c | 3 |
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) 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. */ |