tsnep: Remove useless null check before call of_node_put()
authorHaowen Bai <baihaowen@meizu.com>
Thu, 21 Apr 2022 02:48:03 +0000 (10:48 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 22 Apr 2022 23:43:30 +0000 (16:43 -0700)
commitf28c47bb9fd3286a99194876a6e528be87484c75
treee11c63719ca5cab8bd47977d0f36ba66ec8e549c
parente21bebf9727a2e96c89c1f35e8f3e04e37afd6de
tsnep: Remove useless null check before call of_node_put()

No need to add null check before call of_node_put(), since the
implementation of of_node_put() has done it.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Link: https://lore.kernel.org/r/1650509283-26168-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/engleder/tsnep_main.c