summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-05-19 07:53:19 -0600
committerTom Rini <[email protected]>2026-05-19 08:18:44 -0600
commite84d147bd3e60ae1bce6b6f4bd50f088521a7da1 (patch)
treea26edf72b4fdf2400792631ba09b89e3966cd0c9
parentce12ad70b8b7984cceeaa236ad61498bdcfdc5bd (diff)
scsi: 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]>
-rw-r--r--drivers/scsi/scsi_bootdev.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/scsi_bootdev.c b/drivers/scsi/scsi_bootdev.c
index 28e4612f337..541b021b732 100644
--- a/drivers/scsi/scsi_bootdev.c
+++ b/drivers/scsi/scsi_bootdev.c
@@ -37,9 +37,6 @@ static int scsi_bootdev_hunt(struct bootdev_hunter *info, bool show)
return 0;
}
-struct bootdev_ops scsi_bootdev_ops = {
-};
-
static const struct udevice_id scsi_bootdev_ids[] = {
{ .compatible = "u-boot,bootdev-scsi" },
{ }
@@ -48,7 +45,6 @@ static const struct udevice_id scsi_bootdev_ids[] = {
U_BOOT_DRIVER(scsi_bootdev) = {
.name = "scsi_bootdev",
.id = UCLASS_BOOTDEV,
- .ops = &scsi_bootdev_ops,
.bind = scsi_bootdev_bind,
.of_match = scsi_bootdev_ids,
};