]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
USB: serial: fix boolinit.cocci warnings
authorMathieu OTHACEHE <m.othacehe@gmail.com>
Thu, 4 Feb 2016 18:01:29 +0000 (19:01 +0100)
committerJohan Hovold <johan@kernel.org>
Sun, 28 Feb 2016 13:36:53 +0000 (14:36 +0100)
commitce9d8562536f1289f7cb7afb1d4b2e0d27d2eb2c
treeb581d4b2b446f51489fdf0bd2275e0fc51a1eda9
parent0f3083af5fde121abefddf70c84ba51455ae310f
USB: serial: fix boolinit.cocci warnings

Bool initializations should use true and false. Bool tests don't need
comparisons.

Also, use IS_ENABLED instead of ifdef.

Generated by: scripts/coccinelle/misc/boolinit.cocci

Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/iuu_phoenix.c
drivers/usb/serial/mos7840.c
drivers/usb/serial/quatech2.c
drivers/usb/serial/safe_serial.c