summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-disk.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-17 18:09:09 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-17 18:09:09 +0200
commitd7e747596829c1c11833ca0a1f5e64f400d20bf2 (patch)
tree3ca99d61a3e05399bea3969a588011e235ca5f7a /drivers/ide/ide-disk.h
parent9c3ba7692bc1166c6a5d06fb7c59984f9f988a00 (diff)
downloadtalos-op-linux-d7e747596829c1c11833ca0a1f5e64f400d20bf2.tar.gz
talos-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.h3
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);
OpenPOWER on IntegriCloud