aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:19 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:19 -0500
commitf18f960c5c1568fa2f720e2cb31d6c1af9ea1e1a (patch)
treef14e3cbe9702f064ee7d09458a6366dd54ee6186 /drivers/ide/ide-cd.c
parent2609d06d36317cc22f6d3c37186a8cf1a5f87ba6 (diff)
ide-cd: remove struct atapi_{mechstat_header,changer_info,slot}
* Remove ->changer_info from struct cdrom_info (it is never allocated). * Remove unused struct atapi_{mechstat_header,changer_info,slot}. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r--drivers/ide/ide-cd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index c736f769bff3..f02ddc5b3b17 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -2969,7 +2969,6 @@ static void ide_cd_release(struct kref *kref)
2969 2969
2970 kfree(info->buffer); 2970 kfree(info->buffer);
2971 kfree(info->toc); 2971 kfree(info->toc);
2972 kfree(info->changer_info);
2973 if (devinfo->handle == drive && unregister_cdrom(devinfo)) 2972 if (devinfo->handle == drive && unregister_cdrom(devinfo))
2974 printk(KERN_ERR "%s: %s failed to unregister device from the cdrom " 2973 printk(KERN_ERR "%s: %s failed to unregister device from the cdrom "
2975 "driver.\n", __FUNCTION__, drive->name); 2974 "driver.\n", __FUNCTION__, drive->name);