Message ID | 1484858218-28693-1-git-send-email-clg@kaod.org |
---|---|
State | New |
Headers | show |
diff --git a/hw/ssi/aspeed_smc.c b/hw/ssi/aspeed_smc.c index a0a816407fc1..ae1ad2dba6ff 100644 --- a/hw/ssi/aspeed_smc.c +++ b/hw/ssi/aspeed_smc.c @@ -406,11 +406,6 @@ static inline int aspeed_smc_flash_mode(const AspeedSMCFlash *fl) return s->regs[s->r_ctrl0 + fl->id] & CTRL_CMD_MODE_MASK; } -static inline bool aspeed_smc_is_usermode(const AspeedSMCFlash *fl) -{ - return aspeed_smc_flash_mode(fl) == CTRL_USERMODE; -} - static inline bool aspeed_smc_is_writable(const AspeedSMCFlash *fl) { const AspeedSMCState *s = fl->controller;
Signed-off-by: Cédric Le Goater <clg@kaod.org> --- hw/ssi/aspeed_smc.c | 5 ----- 1 file changed, 5 deletions(-)