From d721e89c82312be98dc9bfafcc2f5caf1f5d4c22 Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Thu, 5 Oct 2023 21:50:49 +0200 Subject: [PATCH] work around compile warning --- drivers/media/platform/apple/isp/isp-ipc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/apple/isp/isp-ipc.c b/drivers/media/platform/apple/isp/isp-ipc.c index f0983980182e..1c1d65b04e2f 100644 --- a/drivers/media/platform/apple/isp/isp-ipc.c +++ b/drivers/media/platform/apple/isp/isp-ipc.c @@ -261,8 +261,6 @@ int ipc_sm_handle(struct apple_isp *isp, struct isp_channel *chan) isp_err(isp, "failed to vmap iova=0x%llx size=0x%llx\n", surf->iova, surf->size); } -skip_vmap: - /* To the gc it goes... */ } else { /* This should be the shared surface free request, but @@ -275,5 +273,7 @@ int ipc_sm_handle(struct apple_isp *isp, struct isp_channel *chan) rsp->arg2 = 0x0; } +skip_vmap: /* To the gc it goes... */ + return 0; } -- 2.39.2