wusb: fix oops when terminating a non-existant reservation
authorDavid Vrabel <david.vrabel@csr.com>
Fri, 12 Dec 2008 13:25:21 +0000 (13:25 +0000)
committerDavid Vrabel <david.vrabel@csr.com>
Fri, 12 Dec 2008 13:25:21 +0000 (13:25 +0000)
commitfe6e87a4b570d2e435709746ba550a7197016bd0
tree2859f1ff17877470f421eaf2edc36a893e8d9363
parent671e470ed04865ca148b83f46319d14547481340
wusb: fix oops when terminating a non-existant reservation

If a reservation was not established, do not try terminating it.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
drivers/usb/wusbcore/reservation.c