wimax: misplaced parenthesis
authorRoel Kluin <roel.kluin@gmail.com>
Sun, 12 Jul 2009 22:59:53 +0000 (00:59 +0200)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 19 Oct 2009 06:55:36 +0000 (15:55 +0900)
Fix misplaced parenthesis

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/tx.c

index fa16ccf8e26a40bf5795c635c030f9713dd50fe6..8c2080248aec3538b8edf78d3d599a674243e4e8 100644 (file)
@@ -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;