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>
This commit is contained in:
Edward O'Callaghan 2014-05-18 10:40:26 +10:00 committed by Patrick Georgi
parent 40788c6a4e
commit 9c8532b350
1 changed files with 0 additions and 5 deletions

View File

@ -46,11 +46,6 @@ struct sst_spi_flash {
const struct sst_spi_flash_params *params; 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) #define SST_SECTOR_SIZE (4 * 1024)
static const struct sst_spi_flash_params sst_spi_flash_table[] = { static const struct sst_spi_flash_params sst_spi_flash_table[] = {
{ {