* [patch 1/1] qla_os.c - vfree() checking cleanups
@ 2005-06-20 21:55 domen
0 siblings, 0 replies; only message in thread
From: domen @ 2005-06-20 21:55 UTC (permalink / raw)
To: andrew.vasquez; +Cc: linux-scsi, domen
[-- Attachment #1: vfree-drivers_scsi_qla2xxx_qla_os.patch --]
[-- Type: text/plain, Size: 718 bytes --]
From: jlamanna@gmail.com
qla_os.c vfree() checking cleanups.
Signed-off by: James Lamanna <jlamanna@gmail.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
qla_os.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: quilt/drivers/scsi/qla2xxx/qla_os.c
===================================================================
--- quilt.orig/drivers/scsi/qla2xxx/qla_os.c
+++ quilt/drivers/scsi/qla2xxx/qla_os.c
@@ -1855,8 +1855,7 @@ qla2x00_mem_free(scsi_qla_host_t *ha)
if (ha->fw_dump)
free_pages((unsigned long)ha->fw_dump, ha->fw_dump_order);
- if (ha->fw_dump_buffer)
- vfree(ha->fw_dump_buffer);
+ vfree(ha->fw_dump_buffer);
ha->fw_dump = NULL;
ha->fw_dump_reading = 0;
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-20 22:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-20 21:55 [patch 1/1] qla_os.c - vfree() checking cleanups domen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox