OSDN Git Service

register: Remove unnecessary NULL check
authorAlistair Francis <alistair.francis@wdc.com>
Tue, 17 Nov 2020 12:56:32 +0000 (12:56 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 17 Nov 2020 12:56:32 +0000 (12:56 +0000)
commitea2d7fcf3556bc279922fac08ea990093f1d7923
tree97910228fda116e1771c1301cdaed2448b1e65a2
parent7b0263cb14c809d1553b7349d5729750651af7d8
register: Remove unnecessary NULL check

This patch fixes CID 1432800 by removing an unnecessary check.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/core/register.c