Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/drivers/media/platform/apple/isp/isp-ipc.c b/drivers/media/platform/apple/isp/isp-ipc.c
- index 7300eb608921..a1948717a319 100644
- --- a/drivers/media/platform/apple/isp/isp-ipc.c
- +++ b/drivers/media/platform/apple/isp/isp-ipc.c
- @@ -227,14 +227,12 @@ int ipc_sm_handle(struct apple_isp *isp, struct isp_channel *chan)
- int err;
- if (req->arg0 == 0x0) {
- - struct isp_sm_deferred_work *dwork;
- struct isp_surf *surf;
- surf = isp_alloc_surface_gc(isp, req->arg1);
- if (!surf) {
- isp_err(isp, "failed to alloc requested size 0x%llx\n",
- req->arg1);
- - kfree(dwork);
- return -ENOMEM;
- }
- surf->type = req->arg2;
Advertisement
Add Comment
Please, Sign In to add comment