USB: count reaches -1, tested 0
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 31 Jan 2009 11:37:04 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:29 +0000 (16:20 -0700)
commit6e14bda1b18b2e3c16258427fc43ceb43e1bc1d5
treeb18bce5c7b0d1f49cb32dfa4611571f9ae44b176
parentd1c0713daea5d1d881ecc8707458ca6746031376
USB: count reaches -1, tested 0

With a postfix decrement count will reach -1 rather than 0,
so the warning will not be issued.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/pci-quirks.c