diff options
| author | Liming Wu <liming.wu@jaguarmicro.com> | 2025-07-10 05:32:08 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-12 01:59:54 +0300 |
| commit | 2f82e99546626719816e881ebd468688447cac1f (patch) | |
| tree | 187cb1f3c7423aa672df9f085e12b676afeffab0 /lib/crypto/mpi/mpiutil.c | |
| parent | ecdec65ec78d67d3ebd17edc88b88312054abe0d (diff) | |
| download | linux-2f82e99546626719816e881ebd468688447cac1f.tar.xz | |
virtio_net: simplify tx queue wake condition check
Consolidate the two nested if conditions for checking tx queue wake
conditions into a single combined condition. This improves code
readability without changing functionality. And move netif_tx_wake_queue
into if condition to reduce unnecessary checks for queue stops.
Signed-off-by: Liming Wu <liming.wu@jaguarmicro.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://patch.msgid.link/20250710023208.846-1-liming.wu@jaguarmicro.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
