Re: [Qemu-devel] [PATCH v3 05/15] monitor: Remove Monitor.cmd_table indirection

2019-06-13 Thread Markus Armbruster
Kevin Wolf writes: > Monitor.cmd_table is initialised to point to mon_cmds and never changed > afterwards. We can remove the indirection and just reference mon_cmds > directly instead. > > Signed-off-by: Kevin Wolf Reviewed-by: Markus Armbruster

[Qemu-devel] [PATCH v3 05/15] monitor: Remove Monitor.cmd_table indirection

2019-06-13 Thread Kevin Wolf
Monitor.cmd_table is initialised to point to mon_cmds and never changed afterwards. We can remove the indirection and just reference mon_cmds directly instead. Signed-off-by: Kevin Wolf --- monitor.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/monitor.c b/monitor