summaryrefslogtreecommitdiff
path: root/drivers/firewire/core-transaction.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2011-01-10 19:28:27 +0300
committerStefan Richter <stefanr@s5r6.in-berlin.de>2011-01-23 14:31:00 +0300
commit3e204dfcaff0e7f6c4d9873fb8c9d948ec5ab2da (patch)
tree77d823df1360861fb4edd7cdf0549ea849c8a001 /drivers/firewire/core-transaction.c
parentf117a3e3004381ccadadc5156178c283815ca393 (diff)
downloadlinux-3e204dfcaff0e7f6c4d9873fb8c9d948ec5ab2da.tar.xz
firewire: cdev: remove unneeded idr_find() from complete_transaction()
Outbound transactions are never aborted with release_client_resource(), so it is not necessary for complete_transaction() to check whether the resource is still registered. Only shutdown_resource() can abort such an transaction, and this is already handled with the in_shutdown check. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: "Stefan Richter" <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/core-transaction.c')
0 files changed, 0 insertions, 0 deletions