usb: misc: adutux: use swap()
authorSalah Triki <salah.triki@gmail.com>
Tue, 3 Aug 2021 00:53:43 +0000 (01:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Aug 2021 10:31:34 +0000 (12:31 +0200)
commite21dd90eb86488fb2689c766311eb6fce98b2eb7
tree2755e80fdc50116f1239a058637b9c28a710d7bb
parent90059e9395cae00d79ecb1f7e1e702756416bc6a
usb: misc: adutux: use swap()

Use swap() in order to make code cleaner. Issue found by coccinelle.

Signed-off-by: Salah Triki <salah.triki@gmail.com>
Link: https://lore.kernel.org/r/20210803005343.GA1578854@pc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/adutux.c