diff options
author | chiminghao <chi.minghao@zte.com.cn> | 2021-11-09 08:26:10 +0000 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2021-12-14 10:50:23 +0100 |
commit | 415e701cee5228f168049881624e343d9a3d97bb (patch) | |
tree | 9d4a53dd8b79f11d2e625e5e55cff1023f969463 /mm/shuffle.h | |
parent | 03090cc76ee3298cc70bce26bbe93a0cb50e42a2 (diff) | |
download | linux-stable-415e701cee5228f168049881624e343d9a3d97bb.tar.gz linux-stable-415e701cee5228f168049881624e343d9a3d97bb.tar.bz2 linux-stable-415e701cee5228f168049881624e343d9a3d97bb.zip |
HID: thrustmaster use swap() to make code cleaner
Fix the following coccicheck REVIEW:
Use swap() instead of reimplementing it.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: chiminghao <chi.minghao@zte.com.cn>
[bentiss: rewrote commit title]
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20211109082610.131341-1-chi.minghao@zte.com.cn
Diffstat (limited to 'mm/shuffle.h')
0 files changed, 0 insertions, 0 deletions