diff options
author | Julia Lawall <julia@diku.dk> | 2011-05-16 14:24:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-17 13:31:32 -0700 |
commit | c5cbebf87f49dfb4f4ccdf86f6c24b4912a3061f (patch) | |
tree | 2753a290af2f44f93f56e9f74df45a1d75dfafbf /drivers/staging/line6 | |
parent | 10ceaac958b0b04d6939ec114b7182d78d2a0027 (diff) | |
download | talos-op-linux-c5cbebf87f49dfb4f4ccdf86f6c24b4912a3061f.tar.gz talos-op-linux-c5cbebf87f49dfb4f4ccdf86f6c24b4912a3061f.zip |
drivers/staging/line6/driver.c: Drop unneeded put functions.
This seems to be the result of patches ab366c1a and 1027f476 crossing each
other. Patch ab366c1a adds calls to usb_put_intf and usb_put_dev at the
end of the function line6_probe, in the error handling code, while patch
1027f476 moves the calls to the corresponding get function from the
beginning to the end of line6_probe, making the calls to put in the error
handling code unnecessary.
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/line6')
-rw-r--r-- | drivers/staging/line6/driver.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c index ea9209d9ceb2..851b762319cf 100644 --- a/drivers/staging/line6/driver.c +++ b/drivers/staging/line6/driver.c @@ -1094,8 +1094,6 @@ static int line6_probe(struct usb_interface *interface, err_destruct: line6_destruct(interface); err_put: - usb_put_intf(interface); - usb_put_dev(usbdev); return ret; } |