aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-07-02 14:02:15 -0400
committerJeff Garzik <jeff@garzik.org>2006-07-05 22:05:34 -0400
commite30349d27e093f32ef517b5416d9dce1998d4676 (patch)
tree4979a58ac85db319abfc295aa8c4534f65ecc676 /include/pcmcia
parent0662c58b3265f52f708a6d59476bc7862b01f9c0 (diff)
[PATCH] libata: replace ap_lock w/ ap->lock in ata_scsi_error()
ap_lock was used because &ap->host_set->lock was too long and used a lot. Now that &ap->host_set->lock is replaced with ap->lock, there's no reason to keep ap_lock. [ed. note: that's not entirely true. ap_lock is a local variable, caching the results of a de-ref. In theory, if the compiler is smart enough, this patch is cosmetic. However, since this is not a fast path (it is the error path), this patch is nonetheless acceptable, even though it _may_ introduce a performance regression.] Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/pcmcia')
0 files changed, 0 insertions, 0 deletions