]> git.baikalelectronics.ru Git - kernel.git/commit
net: dev: Change the order of the arguments for the contended condition.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 13 Dec 2021 16:29:31 +0000 (17:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Dec 2021 12:34:08 +0000 (12:34 +0000)
commit78551c1e155b66c9035e07eb9287df12cc085e8e
treee041bfcad50fcb189970bf42d32c4524f2ad17dc
parent2dc0718e19f8c40342a8555cfa23b25564bda0af
net: dev: Change the order of the arguments for the contended condition.

Change the order of arguments and make qdisc_is_running() appear first.
This is more readable for the general case.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c