Edward O'Callaghan (eocallaghan@alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5779
-gerrit
commit b3c03462efd330d2d26471754b9e71cd5c8b64b9 Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Sun May 18 10:40:26 2014 +1000
drivers/spi/sst.c: Remove unused func to_sst_spi_flash()
Change-Id: I9c0e2930ba8a60c7ad6063e9826b1b8638185505 Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com --- src/drivers/spi/sst.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/src/drivers/spi/sst.c b/src/drivers/spi/sst.c index 8cf3f96..3cf6c50 100644 --- a/src/drivers/spi/sst.c +++ b/src/drivers/spi/sst.c @@ -46,11 +46,6 @@ struct sst_spi_flash { const struct sst_spi_flash_params *params; };
-static inline struct sst_spi_flash *to_sst_spi_flash(struct spi_flash *flash) -{ - return container_of(flash, struct sst_spi_flash, flash); -} - #define SST_SECTOR_SIZE (4 * 1024) static const struct sst_spi_flash_params sst_spi_flash_table[] = { {