diff options
author | 2021-11-09 15:50:51 +0800 | |
---|---|---|
committer | 2021-11-24 17:46:12 +0100 | |
commit | 0e6078c3c6737df7d0bd0c890fbadf24a27fffbb (patch) | |
tree | f8685f75f46bc5ba7351f93e4c2f2bb7c1e9f7df /scripts/gdb/linux/utils.py | |
parent | ACPI: processor: Replace kernel.h with the necessary inclusions (diff) | |
download | wireguard-linux-0e6078c3c6737df7d0bd0c890fbadf24a27fffbb.tar.xz wireguard-linux-0e6078c3c6737df7d0bd0c890fbadf24a27fffbb.zip |
ACPI: processor idle: Use swap() instead of open coding it
Address the following coccicheck warning:
./drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c:914:40-41:
WARNING opportunity for swap().
by using swap() for the swapping of variable values and drop
the tmp variable that is not needed any more.
Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
[ rjw: Subject and changelog rewrite ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions