[PATCH] libata: kill illegal kfree(id)
[linux-2.6.git] / drivers / scsi / libata-core.c
index 17c1df435cc8ab89b0a6f0c79c824de07dc3edd5..e34b421eb2a30cf94fb3d9eec25662c7bd5ebc76 100644 (file)
@@ -1040,7 +1040,6 @@ static int ata_dev_read_id(struct ata_port *ap, struct ata_device *dev,
  err_out:
        printk(KERN_WARNING "ata%u: dev %u failed to IDENTIFY (%s)\n",
               ap->id, dev->devno, reason);
-       kfree(id);
        return rc;
 }