RDMA/nes: Fix confusing if statement indentation
Fix confusing indentation that makes a statement look as if it's part of an if statement when in fact it isn't. Reported-by: Julia Lawall <julia@diku.dk> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
@@ -2737,9 +2737,9 @@ void nes_nic_ce_handler(struct nes_device *nesdev, struct nes_hw_nic_cq *cq)
|
|||||||
nesnic->sq_tail &= nesnic->sq_size-1;
|
nesnic->sq_tail &= nesnic->sq_size-1;
|
||||||
if (sq_cqes > 128) {
|
if (sq_cqes > 128) {
|
||||||
barrier();
|
barrier();
|
||||||
/* restart the queue if it had been stopped */
|
/* restart the queue if it had been stopped */
|
||||||
if (netif_queue_stopped(nesvnic->netdev))
|
if (netif_queue_stopped(nesvnic->netdev))
|
||||||
netif_wake_queue(nesvnic->netdev);
|
netif_wake_queue(nesvnic->netdev);
|
||||||
sq_cqes = 0;
|
sq_cqes = 0;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user