aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb_main.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-12-03 02:58:21 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-03 16:18:01 -0500
commit8e95a2026f3b43f7c3d676adaccd2de9532e8dcc (patch)
tree3733318168cd512480b6db58c5c16d1c8847f0b7 /drivers/net/igb/igb_main.c
parent3454f835837609d60b29a266e3bd9d701073b060 (diff)
drivers/net: Move && and || to end of previous line
Only files where David Miller is the primary git-signer. wireless, wimax, ixgbe, etc are not modified. Compile tested x86 allyesconfig only Not all files compiled (not x86 compatible) Added a few > 80 column lines, which I ignored. Existing checkpatch complaints ignored. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r--drivers/net/igb/igb_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index e57b32d3fde4..16349ba68736 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -4974,9 +4974,8 @@ static bool igb_clean_tx_irq(struct igb_q_vector *q_vector)
4974 tx_ring->detect_tx_hung = false; 4974 tx_ring->detect_tx_hung = false;
4975 if (tx_ring->buffer_info[i].time_stamp && 4975 if (tx_ring->buffer_info[i].time_stamp &&
4976 time_after(jiffies, tx_ring->buffer_info[i].time_stamp + 4976 time_after(jiffies, tx_ring->buffer_info[i].time_stamp +
4977 (adapter->tx_timeout_factor * HZ)) 4977 (adapter->tx_timeout_factor * HZ)) &&
4978 && !(rd32(E1000_STATUS) & 4978 !(rd32(E1000_STATUS) & E1000_STATUS_TXOFF)) {
4979 E1000_STATUS_TXOFF)) {
4980 4979
4981 /* detected Tx unit hang */ 4980 /* detected Tx unit hang */
4982 dev_err(&tx_ring->pdev->dev, 4981 dev_err(&tx_ring->pdev->dev,