You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user