From: Clemens Ladisch Date: Mon, 10 Jan 2011 16:28:27 +0000 (+0100) Subject: firewire: cdev: remove unneeded idr_find() from complete_transaction() X-Git-Tag: v2.6.39-rc1~400^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e204dfcaff0e7f6c4d9873fb8c9d948ec5ab2da;p=pandora-kernel.git 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 Signed-off-by: "Stefan Richter" --- Reading git-diff-tree failed