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>
This commit is contained in:
Dan Carpenter
2023-10-31 11:59:34 +03:00
committed by Greg Kroah-Hartman
parent 84353aeeb5
commit 2a4033b2d4

View File

@@ -2040,8 +2040,7 @@ sync_func(void *v)
continue;
}
svc_fourcc = service ? service->base.fourcc
: VCHIQ_MAKE_FOURCC('?', '?', '?', '?');
svc_fourcc = service->base.fourcc;
vchiq_log_trace(state->dev, VCHIQ_SYNC,
"Rcvd Msg %s from %p4cc s:%d d:%d len:%d",