]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: sbp2: fold two functions into one
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 27 Aug 2011 13:35:23 +0000 (15:35 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 16 Sep 2011 20:23:56 +0000 (22:23 +0200)
commit80c7517b16b385b86a7836a2a2ccde2578bd6e4d
tree57ed8273ecf184c6ebf1ef4b155a1b648d23b1f7
parent97442e9627146003fd7e6568cb0be5205cf5861e
firewire: sbp2: fold two functions into one

sbp2_release_target() is folded into its primary user, sbp2_remove().
The only other caller, a failure path in sbp2_probe(), now uses
sbp2_remove().  This adds unnecessary cancel_delayed_work_sync() calls
to that failure path but results in less code and text.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/sbp2.c