From dc6f7fb0a5189b6f5fdfe3084a2b243bd6c6c64d Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Mon, 16 May 2022 15:31:42 +1000 Subject: include/flash.h: Drop dead struct members These were part of the original wp implementation, now dead code left over. Change-Id: I43b25175c6ff833b822a93c4e752a28cf97d64b8 Signed-off-by: Edward O'Callaghan Reviewed-on: https://review.coreboot.org/c/flashrom/+/64373 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Thomas Heijligen Reviewed-by: Angel Pons --- include/flash.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/flash.h') diff --git a/include/flash.h b/include/flash.h index 89d57377..27ade09b 100644 --- a/include/flash.h +++ b/include/flash.h @@ -266,8 +266,6 @@ struct flashchip { int (*unlock) (struct flashctx *flash); int (*write) (struct flashctx *flash, const uint8_t *buf, unsigned int start, unsigned int len); int (*read) (struct flashctx *flash, uint8_t *buf, unsigned int start, unsigned int len); - uint8_t (*read_status) (const struct flashctx *flash); - int (*write_status) (const struct flashctx *flash, int status); struct voltage { uint16_t min; uint16_t max; -- cgit v1.2.3