[PATCH 06/15] ata: sata_sil: Remove useless BLK guard in sata_sil.h

Tom Rini trini at konsulko.com
Sat Jun 11 04:59:29 CEST 2022


Now that the driver only supports CONFIG_BLK, remove the useless guard
in sata_sil.h.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/ata/sata_sil.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/ata/sata_sil.h b/drivers/ata/sata_sil.h
index bea4322c919d..9ad09e5461d2 100644
--- a/drivers/ata/sata_sil.h
+++ b/drivers/ata/sata_sil.h
@@ -212,12 +212,10 @@ enum {
 	CMD_ERR		= 0x21,
 };
 
-#if CONFIG_IS_ENABLED(BLK)
 #define ATA_MAX_PORTS		32
 struct sil_sata_priv {
 	int		port_num;
 	struct sil_sata	*sil_sata_desc[ATA_MAX_PORTS];
 };
-#endif
 
 #endif
-- 
2.25.1



More information about the U-Boot mailing list