diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-17 18:09:09 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-17 18:09:09 +0200 |
commit | d7e747596829c1c11833ca0a1f5e64f400d20bf2 (patch) | |
tree | 3ca99d61a3e05399bea3969a588011e235ca5f7a /drivers/ide/ide-disk.h | |
parent | 9c3ba7692bc1166c6a5d06fb7c59984f9f988a00 (diff) | |
download | blackbird-op-linux-d7e747596829c1c11833ca0a1f5e64f400d20bf2.tar.gz blackbird-op-linux-d7e747596829c1c11833ca0a1f5e64f400d20bf2.zip |
ide-disk: use to_ide_drv() and ide_drv_g()
There should be no functional changes caused by this patch.
Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-disk.h')
-rw-r--r-- | drivers/ide/ide-disk.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ide/ide-disk.h b/drivers/ide/ide-disk.h index a82fa4355665..50d674b91c8b 100644 --- a/drivers/ide/ide-disk.h +++ b/drivers/ide/ide-disk.h @@ -9,9 +9,6 @@ struct ide_disk_obj { unsigned int openers; /* protected by BKL for now */ }; -#define ide_disk_g(disk) \ - container_of((disk)->private_data, struct ide_disk_obj, driver) - /* ide-disk.c */ sector_t ide_disk_capacity(ide_drive_t *); ide_decl_devset(address); |