Skip to content

Commit

Permalink
ide-cd: remove NO_DOOR_LOCKING define
Browse files Browse the repository at this point in the history
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Feb 1, 2008
1 parent 2bc4cf2 commit 3fc3cbf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions drivers/ide/ide-cd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2855,9 +2855,6 @@ int ide_cdrom_setup (ide_drive_t *drive)

cd->cd_flags |= IDE_CD_FLAG_MEDIA_CHANGED;

#if NO_DOOR_LOCKING
cd->cd_flags |= IDE_CD_FLAG_NO_DOORLOCK;
#endif
if ((drive->id->config & 0x0060) == 0x20)
cd->cd_flags |= IDE_CD_FLAG_DRQ_INTERRUPT;
cd->cd_flags |= IDE_CD_FLAG_NO_EJECT;
Expand Down
7 changes: 0 additions & 7 deletions drivers/ide/ide-cd.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@
#endif


/* Turning this on will disable the door-locking functionality.
This is apparently needed for supermount. */

#ifndef NO_DOOR_LOCKING
#define NO_DOOR_LOCKING 0
#endif

/*
* typical timeout for packet command
*/
Expand Down

0 comments on commit 3fc3cbf

Please sign in to comment.