]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/staging/line6/driver.c: Drop unneeded put functions.
authorJulia Lawall <julia@diku.dk>
Mon, 16 May 2011 12:24:57 +0000 (14:24 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 20:31:32 +0000 (13:31 -0700)
commitd88802311a38b5e029887ce452ae6c9a36d540d5
tree2753a290af2f44f93f56e9f74df45a1d75dfafbf
parenta6629c3660e99441b63ccd2b5bedc0a1dff0779a
drivers/staging/line6/driver.c: Drop unneeded put functions.

This seems to be the result of patches b68780d7 and 634485a4 crossing each
other.  Patch b68780d7 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
634485a4 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>
drivers/staging/line6/driver.c