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>
This commit is contained in:
parent
3454f83583
commit
8e95a2026f
132 changed files with 799 additions and 805 deletions
|
@ -679,8 +679,8 @@ static bool e1000_clean_tx_irq(struct e1000_adapter *adapter)
|
|||
adapter->detect_tx_hung = 0;
|
||||
if (tx_ring->buffer_info[i].time_stamp &&
|
||||
time_after(jiffies, tx_ring->buffer_info[i].time_stamp
|
||||
+ (adapter->tx_timeout_factor * HZ))
|
||||
&& !(er32(STATUS) & E1000_STATUS_TXOFF)) {
|
||||
+ (adapter->tx_timeout_factor * HZ)) &&
|
||||
!(er32(STATUS) & E1000_STATUS_TXOFF)) {
|
||||
schedule_work(&adapter->print_hang_task);
|
||||
netif_stop_queue(netdev);
|
||||
}
|
||||
|
@ -4046,8 +4046,8 @@ static int e1000_transfer_dhcp_info(struct e1000_adapter *adapter,
|
|||
u16 length, offset;
|
||||
|
||||
if (vlan_tx_tag_present(skb)) {
|
||||
if (!((vlan_tx_tag_get(skb) == adapter->hw.mng_cookie.vlan_id)
|
||||
&& (adapter->hw.mng_cookie.status &
|
||||
if (!((vlan_tx_tag_get(skb) == adapter->hw.mng_cookie.vlan_id) &&
|
||||
(adapter->hw.mng_cookie.status &
|
||||
E1000_MNG_DHCP_COOKIE_STATUS_VLAN)))
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue