]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: BUG_ON conversion for wacom.c
authorEric Sesterhenn <[mailto:snakebyte@gmx.de]>
Tue, 17 Oct 2006 21:46:30 +0000 (14:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Oct 2006 21:46:30 +0000 (14:46 -0700)
commit2920349d438ec08d2b1f6761c8b78b8d13fd1dee
tree10fb227d8a4df923291eb6cbae67c1257cad241f
parent8d32e3ae5972641ee9eb813e7a5c44a2b85d3694
USB: BUG_ON conversion for wacom.c

this patch converts two if () BUG(); construct to BUG_ON();
which occupies less space, uses unlikely and is safer when
BUG() is disabled.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Acked-by: "Ping Cheng" <pingc@wacom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/wacom_sys.c