]> git.baikalelectronics.ru Git - kernel.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)
commit6f58a12e52d7cf6018c8b705b400767f94aff40d
tree3d60b38576c16ff40d7961b71c1f5566b6d7c04f
parentf976e7366edff900bbeb565eef366ee9e0e447e4
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