]> err.no Git - linux-2.6/commit
USB: fix compiler warning fix
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 7 Aug 2008 17:04:51 +0000 (13:04 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 14 Aug 2008 00:32:56 +0000 (17:32 -0700)
commit9ff78433f0aeb1f731a22a90206b685df4eaf52e
tree22c8e58ee62b5f71550bd685e7049c7cd7597b9b
parentd28525f8866244a77b677c0470d4859cb2b6c2a8
USB: fix compiler warning fix

This patch (as1123b) fixes a compiler warning: do_unbind_rebind() is
defined but not used if CONFIG_PM=n.

Problem originally found and initial patch submitted by Alexander
Beregalov <a.beregalov@gmail.com>.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/driver.c