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)
commit32ce38f40337cf4a805552e494354d961587c838
tree57ed8273ecf184c6ebf1ef4b155a1b648d23b1f7
parentb2af07b6844aade3a6d69511625bef2b1cb609cc
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