clk: imx: remove redundant assignment to pointer np
authorColin Ian King <colin.king@canonical.com>
Thu, 29 Oct 2020 22:40:07 +0000 (22:40 +0000)
committerShawn Guo <shawnguo@kernel.org>
Sun, 1 Nov 2020 09:26:43 +0000 (17:26 +0800)
commitf2644bd7413c8f2fcef208c576e83335709c5120
tree14f5200c042c8ae7ec69c7987864d598df0300b6
parent8404c66140e209794b15ee5529d4559334b3d364
clk: imx: remove redundant assignment to pointer np

Pointer np is being initialized with a value that is never read
and it is being updated with a value later on. The initialization
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx8mp.c