]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: Fix unused label warnings in drivers/usb/host/ehci-hcd.c
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 21:23:29 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 21:23:29 +0000 (14:23 -0700)
commita9b6148d25f15ddfe9d7a7f3e526fdb64e7cf7da
tree3d60b38576c16ff40d7961b71c1f5566b6d7c04f
parent9b7530cc329eb036cfa589930c270e85031f554c
USB: Fix unused label warnings in drivers/usb/host/ehci-hcd.c

This gets rid of an annoying warning in ehci-hcd.c when DEBUG isn't
enabled:

    warning: label 'err_debug' defined but not used

by moving it inside the already-existing #ifdef DEBUG, so that it
matches the goto.  And now my regular build is warning-free again.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/host/ehci-hcd.c