On Fri, 5 Jun 2020 at 11:27, Philippe Mathieu-Daudé <phi...@redhat.com> wrote: > > From: Philippe Mathieu-Daudé <f4...@amsat.org> > > cmd_valid_while_locked() only needs to read SDRequest->cmd, > pass it directly and make it const. > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > hw/sd/sd.c | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-)
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM