[PATCH] vfree and kfree cleanup in drivers/
[deliverable/linux.git] / drivers / scsi / 53c7xx.c
index 2341d27ceed7359991733e564eebba5c6a039f08..7a33c708f5b3dd0a65d4433e3900d52f64ae42aa 100644 (file)
@@ -6090,8 +6090,8 @@ NCR53c7x0_release(struct Scsi_Host *host) {
     if (hostdata->num_cmds)
        printk ("scsi%d : leaked %d NCR53c7x0_cmd structures\n",
            host->host_no, hostdata->num_cmds);
-    if (hostdata->events) 
-       vfree ((void *)hostdata->events);
+
+    vfree(hostdata->events);
 
     /* XXX This assumes default cache mode to be IOMAP_FULL_CACHING, which
      * XXX may be invalid (CONFIG_060_WRITETHROUGH)
This page took 0.025218 seconds and 5 git commands to generate.