Guest User

Untitled

a guest
Oct 14th, 2025
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. diff --git a/drivers/media/platform/apple/isp/isp-ipc.c b/drivers/media/platform/apple/isp/isp-ipc.c
  2. index 7300eb608921..a1948717a319 100644
  3. --- a/drivers/media/platform/apple/isp/isp-ipc.c
  4. +++ b/drivers/media/platform/apple/isp/isp-ipc.c
  5. @@ -227,14 +227,12 @@ int ipc_sm_handle(struct apple_isp *isp, struct isp_channel *chan)
  6. int err;
  7.  
  8. if (req->arg0 == 0x0) {
  9. - struct isp_sm_deferred_work *dwork;
  10. struct isp_surf *surf;
  11.  
  12. surf = isp_alloc_surface_gc(isp, req->arg1);
  13. if (!surf) {
  14. isp_err(isp, "failed to alloc requested size 0x%llx\n",
  15. req->arg1);
  16. - kfree(dwork);
  17. return -ENOMEM;
  18. }
  19. surf->type = req->arg2;
Advertisement
Add Comment
Please, Sign In to add comment