From: Bartlomiej Zolnierkiewicz Date: Mon, 13 Oct 2008 19:39:43 +0000 (+0200) Subject: ide-cd: no need to zero drive->special.all X-Git-Tag: v2.6.28-rc1~599^2~24 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=14d83b12c931b03dbe6b3dc79122db02521c890b;p=linux-2.6-omap-h63xx.git ide-cd: no need to zero drive->special.all Cc: Borislav Petkov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index e6c2a2e66ed..880d6d042fc 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c @@ -1886,8 +1886,6 @@ static int ide_cdrom_setup(ide_drive_t *drive) if (!drive->queue->unplug_delay) drive->queue->unplug_delay = 1; - drive->special.all = 0; - drive->atapi_flags = IDE_AFLAG_MEDIA_CHANGED | IDE_AFLAG_NO_EJECT | ide_cd_flags(id);