Re: [PATCH 2.6.22-rc7] sata_sil24: sil24_interrupt() micro-optimisation

2007-07-03 Thread Jeff Garzik
Mikael Pettersson wrote: 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

[PATCH 2.6.22-rc7] sata_sil24: sil24_interrupt() micro-optimisation

2007-07-02 Thread Mikael Pettersson
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