diff options
author | Joe Perches <joe@perches.com> | 2009-12-03 02:58:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-03 16:18:01 -0500 |
commit | 8e95a2026f3b43f7c3d676adaccd2de9532e8dcc (patch) | |
tree | 3733318168cd512480b6db58c5c16d1c8847f0b7 /drivers/net/tg3.c | |
parent | 3454f835837609d60b29a266e3bd9d701073b060 (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/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 302ea0b7b235..f845837e4aa5 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -4621,13 +4621,12 @@ static int tg3_rx(struct tg3_napi *tnapi, int budget) | |||
4621 | len = ((desc->idx_len & RXD_LEN_MASK) >> RXD_LEN_SHIFT) - | 4621 | len = ((desc->idx_len & RXD_LEN_MASK) >> RXD_LEN_SHIFT) - |
4622 | ETH_FCS_LEN; | 4622 | ETH_FCS_LEN; |
4623 | 4623 | ||
4624 | if (len > RX_COPY_THRESHOLD | 4624 | if (len > RX_COPY_THRESHOLD && |
4625 | && tp->rx_offset == NET_IP_ALIGN | 4625 | tp->rx_offset == NET_IP_ALIGN) { |
4626 | /* rx_offset will likely not equal NET_IP_ALIGN | 4626 | /* rx_offset will likely not equal NET_IP_ALIGN |
4627 | * if this is a 5701 card running in PCI-X mode | 4627 | * if this is a 5701 card running in PCI-X mode |
4628 | * [see tg3_get_invariants()] | 4628 | * [see tg3_get_invariants()] |
4629 | */ | 4629 | */ |
4630 | ) { | ||
4631 | int skb_size; | 4630 | int skb_size; |
4632 | 4631 | ||
4633 | skb_size = tg3_alloc_rx_skb(tp, tpr, opaque_key, | 4632 | skb_size = tg3_alloc_rx_skb(tp, tpr, opaque_key, |