diff options
| author | Tom Rini <[email protected]> | 2026-05-18 15:49:52 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-05-19 08:17:23 -0600 |
| commit | 83cf74a01a836d662db2413b80d50264fa7bdcfb (patch) | |
| tree | f8ac404629169cb34b0c1e36dfe0f589acb15a7f /drivers | |
| parent | 15cc283d1ba4f0821bf96dd709cc805513746da7 (diff) | |
block: ide: Drop empty bootdev_ops structure
We don't need to provide an empty struct here now that the caller can
handle this being empty.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/block/ide.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/block/ide.c b/drivers/block/ide.c index cab5e1bc92b..c1a46dd2a94 100644 --- a/drivers/block/ide.c +++ b/drivers/block/ide.c @@ -969,9 +969,6 @@ static int ide_bootdev_hunt(struct bootdev_hunter *info, bool show) return 0; } -struct bootdev_ops ide_bootdev_ops = { -}; - static const struct udevice_id ide_bootdev_ids[] = { { .compatible = "u-boot,bootdev-ide" }, { } @@ -980,7 +977,6 @@ static const struct udevice_id ide_bootdev_ids[] = { U_BOOT_DRIVER(ide_bootdev) = { .name = "ide_bootdev", .id = UCLASS_BOOTDEV, - .ops = &ide_bootdev_ops, .bind = ide_bootdev_bind, .of_match = ide_bootdev_ids, }; |
