Skip to contentSkip to conversation

qla_os.c - vfree() checking cleanups

PATCH New [email protected] 1 participant 1 message Jan 4, 2005

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 15/29 qla_os.c - vfree() checking cleanups

qla_os.c vfree() checking cleanups.

Signed-off by: James Lamanna <[email protected]>

 qla_os.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)
drivers/scsi/qla2xxx/qla_os.c +1 -2
@@ -3125,8 +3125,7 @@
 	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  	ha->fw_dump_reading 
 

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors