On Fri, 5 Jun 2020 at 11:27, Philippe Mathieu-Daudé <[email protected]> wrote:
>
> From: Philippe Mathieu-Daudé <[email protected]>
>
> cmd_valid_while_locked() only needs to read SDRequest->cmd,
> pass it directly and make it const.
>
> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
> ---
>  hw/sd/sd.c | 11 +++++------
>  1 file changed, 5 insertions(+), 6 deletions(-)

Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM

Reply via email to