diff options
author | Zhengchao Shao <shaozhengchao@huawei.com> | 2023-07-24 04:37:35 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-26 04:52:08 +0200 |
commit | f080864a9d906678e050f10f0e81add711b86fbc (patch) | |
tree | f01deca58c4c916287622d29eb7b9b6ed4a68252 /drivers/s390/net | |
parent | Merge branch 'support-udp-encapsulation-in-packet-offload-mode' (diff) | |
download | linux-f080864a9d906678e050f10f0e81add711b86fbc.tar.xz linux-f080864a9d906678e050f10f0e81add711b86fbc.zip |
net: remove redundant NULL check in remove_xps_queue()
There are currently two paths that call remove_xps_queue():
1. __netif_set_xps_queue -> remove_xps_queue
2. clean_xps_maps -> remove_xps_queue_cpu -> remove_xps_queue
There is no need to check dev_maps in remove_xps_queue() because
dev_maps has been checked on these two paths.
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20230724023735.2751602-1-shaozhengchao@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/s390/net')
0 files changed, 0 insertions, 0 deletions