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:

committed by
David S. Miller

parent
3454f83583
commit
8e95a2026f
@@ -2347,8 +2347,8 @@ static int ql_alloc_tx_resources(struct ql_adapter *qdev,
|
||||
pci_alloc_consistent(qdev->pdev, tx_ring->wq_size,
|
||||
&tx_ring->wq_base_dma);
|
||||
|
||||
if ((tx_ring->wq_base == NULL)
|
||||
|| tx_ring->wq_base_dma & WQ_ADDR_ALIGN) {
|
||||
if ((tx_ring->wq_base == NULL) ||
|
||||
tx_ring->wq_base_dma & WQ_ADDR_ALIGN) {
|
||||
QPRINTK(qdev, IFUP, ERR, "tx_ring alloc failed.\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
Reference in New Issue
Block a user