diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:43 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:43 -0400 |
commit | 14d83b12c931b03dbe6b3dc79122db02521c890b (patch) | |
tree | 1bea6db8da0cef44eafe1169fb77b7d8711e058b /drivers/ide | |
parent | 4ab3d50224e35811b3351c28e63057595e8406e6 (diff) |
ide-cd: no need to zero drive->special.all
Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/ide-cd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index e6c2a2e66ed2..880d6d042fc8 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) | |||
1886 | if (!drive->queue->unplug_delay) | 1886 | if (!drive->queue->unplug_delay) |
1887 | drive->queue->unplug_delay = 1; | 1887 | drive->queue->unplug_delay = 1; |
1888 | 1888 | ||
1889 | drive->special.all = 0; | ||
1890 | |||
1891 | drive->atapi_flags = IDE_AFLAG_MEDIA_CHANGED | IDE_AFLAG_NO_EJECT | | 1889 | drive->atapi_flags = IDE_AFLAG_MEDIA_CHANGED | IDE_AFLAG_NO_EJECT | |
1892 | ide_cd_flags(id); | 1890 | ide_cd_flags(id); |
1893 | 1891 | ||