ARM: imx: Drop unnecessary src_base check
src_base is already checked during src driver initialization, no need to check its availability again when using it. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
62d1c1df85
commit
756931e058
|
@ -43,9 +43,6 @@ static int imx_src_reset_module(struct reset_controller_dev *rcdev,
|
|||
int bit;
|
||||
u32 val;
|
||||
|
||||
if (!src_base)
|
||||
return -ENODEV;
|
||||
|
||||
if (sw_reset_idx >= ARRAY_SIZE(sw_reset_bits))
|
||||
return -EINVAL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue