[SCSI] mpt2sas: cleanup interrupt routine and config_request optimization
authorKashyap, Desai <kashyap.desai@lsi.com>
Thu, 20 Aug 2009 07:54:31 +0000 (13:24 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 5 Sep 2009 14:36:30 +0000 (09:36 -0500)
commit5b768581ea722172f059ad5a5eebea9008961af0
tree1bd620747bcbcf6abae9e8f8e46ce0beb6029bfc
parented79f1280d1bc54f168abcffc8c3e0bf8ffb1873
[SCSI] mpt2sas: cleanup interrupt routine and config_request optimization

Cleaned up base_interrupt routine to be more effiecent.

Deleted about a third of the config page API by moving redundant code from all
the calling functions to _config_request.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Reviewed-by: Eric Moore <Eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_base.c
drivers/scsi/mpt2sas/mpt2sas_base.h
drivers/scsi/mpt2sas/mpt2sas_config.c
drivers/scsi/mpt2sas/mpt2sas_scsih.c