Skip to content
Commit 415e701c authored by chiminghao's avatar chiminghao Committed by Benjamin Tissoires
Browse files

HID: thrustmaster use swap() to make code cleaner



Fix the following coccicheck REVIEW:
Use swap() instead of reimplementing it.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarchiminghao <chi.minghao@zte.com.cn>
[bentiss: rewrote commit title]
Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20211109082610.131341-1-chi.minghao@zte.com.cn
parent 03090cc7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment