From ce12ad70b8b7984cceeaa236ad61498bdcfdc5bd Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 19 May 2026 07:53:14 -0600 Subject: ata: sata: 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 --- drivers/ata/sata_bootdev.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'drivers/ata/sata_bootdev.c') diff --git a/drivers/ata/sata_bootdev.c b/drivers/ata/sata_bootdev.c index a5ca6f6fd5b..7d5ef3c94bf 100644 --- a/drivers/ata/sata_bootdev.c +++ b/drivers/ata/sata_bootdev.c @@ -37,9 +37,6 @@ static int sata_bootdev_hunt(struct bootdev_hunter *info, bool show) return 0; } -struct bootdev_ops sata_bootdev_ops = { -}; - static const struct udevice_id sata_bootdev_ids[] = { { .compatible = "u-boot,bootdev-sata" }, { } @@ -48,7 +45,6 @@ static const struct udevice_id sata_bootdev_ids[] = { U_BOOT_DRIVER(sata_bootdev) = { .name = "sata_bootdev", .id = UCLASS_BOOTDEV, - .ops = &sata_bootdev_ops, .bind = sata_bootdev_bind, .of_match = sata_bootdev_ids, }; -- cgit v1.3.1