]> git.itanic.dy.fi Git - linux-stable/commit
staging: vc04_services: remove unnecessary NULL check
authorDan Carpenter <dan.carpenter@linaro.org>
Tue, 31 Oct 2023 08:59:34 +0000 (11:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Nov 2023 12:47:56 +0000 (12:47 +0000)
commit2a4033b2d4c998d03cabe5799ae7de99f4f3254b
treee0f4c0a71ab360aacd300317c1d484ffa2755388
parent84353aeeb5502fb2f4b2022c5062c09f4936bc4e
staging: vc04_services: remove unnecessary NULL check

We ensured that "service" as non-NULL in the previous if statement so
there is no need to check again here.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Link: https://lore.kernel.org/r/1dff4d9b-d067-4525-95e0-ffdc1185cccd@moroto.mountain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c