diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-05-18 10:40:26 +1000 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-05-18 18:05:42 +0200 |
commit | 9c8532b350d00dbd1aa184f162ef0448c941c822 (patch) | |
tree | 21d1eb7404389b3d930f232f2fd8d00acbd19945 /src/drivers | |
parent | 40788c6a4e5e9b5172c3c8c5752b9c3cd50af78c (diff) |
drivers/spi/sst.c: Remove unused func to_sst_spi_flash()
Trips up clang builds with a warn treated as error.
Change-Id: I9c0e2930ba8a60c7ad6063e9826b1b8638185505
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/5779
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/spi/sst.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/drivers/spi/sst.c b/src/drivers/spi/sst.c index 8cf3f964fd..3cf6c509bf 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[] = { { |