Skip to content

Commit

Permalink
wimax: misplaced parenthesis
Browse files Browse the repository at this point in the history
Fix misplaced parenthesis

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
  • Loading branch information
Roel Kluin authored and Inaky Perez-Gonzalez committed Oct 19, 2009
1 parent a6346fa commit 2d44f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wimax/i2400m/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ size_t __i2400m_tx_tail_room(struct i2400m *i2400m)
size_t tail_room;
size_t tx_in;

if (unlikely(i2400m->tx_in) == 0)
if (unlikely(i2400m->tx_in == 0))
return I2400M_TX_BUF_SIZE;
tx_in = i2400m->tx_in % I2400M_TX_BUF_SIZE;
tail_room = I2400M_TX_BUF_SIZE - tx_in;
Expand Down

0 comments on commit 2d44f20

Please sign in to comment.