mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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 <trini@konsulko.com>
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user