From: Mikael Pettersson Date: Mon, 2 Jul 2007 23:10:25 +0000 (+0200) Subject: sata_sil24: sil24_interrupt() micro-optimisation X-Git-Tag: v2.6.23-rc1~1152^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=825cd6dd793770ebd42d9ca19f5ee7d082350317;p=pandora-kernel.git sata_sil24: sil24_interrupt() micro-optimisation sil24_interrupt() loads host->ports[i] into a local variable, validates it, and then loads the value again in the call to sil24_host_intr(). This patch replaces the second load by a reference to the local variable. This is safe since no side-effects have occurred since the initial load. It also improves readability since it makes it clear that the parameter to sil24_host_intr() is the same value which was just validated. Signed-off-by: Mikael Pettersson Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed