[SCSI] qla2xxx: Add qla2x00_free_fcports() function
authorChad Dupuis <chad.dupuis@qlogic.com>
Fri, 23 Jul 2010 10:28:30 +0000 (15:28 +0500)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:06:11 +0000 (09:06 -0500)
commit8867048b486a64125b62f93af13a379d6d575ee2
tree72bd8422dddba119d0b90831cbe8d6441d0b189f
parent14e303d98bcfe4a6075407b531b1df2f237deb28
[SCSI] qla2xxx: Add qla2x00_free_fcports() function

This function was added to encapsulate freeing the memory for all the fcports
associated with a particular vha.  Also added a call to qla2x00_free_fcports()
to qla2x00_free_device() to free the memory for all the fcports associated with
a vha during device removal.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_os.c