* [Qemu-devel] [PATCH] aspeed/smc: remove unused routine aspeed_smc_is_usermode()
@ 2017-01-19 20:36 Cédric Le Goater
0 siblings, 0 replies; only message in thread
From: Cédric Le Goater @ 2017-01-19 20:36 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel, Cédric Le Goater
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
hw/ssi/aspeed_smc.c | 5 -----
1 file changed, 5 deletions(-)
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;
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-19 20:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-19 20:36 [Qemu-devel] [PATCH] aspeed/smc: remove unused routine aspeed_smc_is_usermode() Cédric Le Goater
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).