diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:21 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:21 -0500 |
commit | 0ba11211f9ac583333aac44daec5af4f7eeba217 (patch) | |
tree | 517ca173a21e0a84c3703f3a3ba8d56ba071f801 /drivers/ide/ide-cd.h | |
parent | 4fe6717862d4977b8e61307a2623ed7739068bdc (diff) |
ide-cd: kill CDROM_STATE_FLAGS() macro
While at it rename 'info' variable to 'cd' in cdrom_saw_media_change().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.h')
-rw-r--r-- | drivers/ide/ide-cd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h index 9e1cee69c0fc..8dbe346b4b44 100644 --- a/drivers/ide/ide-cd.h +++ b/drivers/ide/ide-cd.h | |||
@@ -80,8 +80,6 @@ struct ide_cd_state_flags { | |||
80 | byte current_speed; /* Current speed of the drive */ | 80 | byte current_speed; /* Current speed of the drive */ |
81 | }; | 81 | }; |
82 | 82 | ||
83 | #define CDROM_STATE_FLAGS(drive) (&(((struct cdrom_info *)(drive->driver_data))->state_flags)) | ||
84 | |||
85 | /* Structure of a MSF cdrom address. */ | 83 | /* Structure of a MSF cdrom address. */ |
86 | struct atapi_msf { | 84 | struct atapi_msf { |
87 | byte reserved; | 85 | byte reserved; |