From: Stefan Richter Date: Sun, 3 Jul 2011 15:39:26 +0000 (+0200) Subject: firewire: ohci: skip soft reset retries after card ejection X-Git-Tag: v3.1-rc1~315^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f426173e54a4f0882f9516c226f3165a3bd5474;p=pandora-kernel.git firewire: ohci: skip soft reset retries after card ejection The software reset in firewire-ohci's pci_remove does not have a great prospect of success if the card was already physically removed at this point. So let's skip the 500 ms that were spent in retries here. Also, replace a defined constant by its open-coded value. This is not a constant from a specification but an arbitrarily chosen retry limit. It was only used in this single place. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed