IB/ipath: Fix probe failure path
authorBen Hutchings <ben@decadent.org.uk>
Sat, 12 Jun 2010 02:25:09 +0000 (02:25 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 21 Jul 2010 17:48:39 +0000 (10:48 -0700)
commitdccb816de38efe72becc5d7f90a5dfedcd6fd053
treeb438b8fe8cd90d132cb864bb741a391a8dd8cb42
parent589643be6693c46fbc54bae77745f336c8ed4bcc
IB/ipath: Fix probe failure path

The failure path in ipath_init_one() does not match the cleanup code
in ipath_remove_one() and appears to leave interrupts enabled in some
cases.  Change it to match.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_driver.c