]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: host: ehci.h: fix single statement macros
authorGeyslan G. Bem <geyslan@gmail.com>
Tue, 26 Jan 2016 01:44:47 +0000 (22:44 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 21:44:05 +0000 (13:44 -0800)
commitbc4beadabf53a26268b12c930557b364fd4e2b28
treeb95508d9e61f8d796c990f7d5f217a410c95587c
parent9dc3af5ed21fa7ec8ccd315a10b1f9a7771b244b
usb: host: ehci.h: fix single statement macros

Don't use the 'do {} while (0)' wrapper in a single statement macro.

Caught by checkpatch: "WARNING: Single statement macros should not
use a do {} while (0) loop"

Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci.h