media: videobuf-dma-sg: void function return statements are not generally useful
authorlijian <lijian@yulong.com>
Wed, 26 May 2021 09:47:12 +0000 (11:47 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 2 Jun 2021 12:18:36 +0000 (14:18 +0200)
void function videobuf_vm_close return statements are not generally useful,
so deleted the return in function videobuf_vm_close().

Signed-off-by: lijian <lijian@yulong.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/videobuf-dma-sg.c

index 8dd0562..f75e5ee 100644 (file)
@@ -423,7 +423,6 @@ static void videobuf_vm_close(struct vm_area_struct *vma)
                videobuf_queue_unlock(q);
                kfree(map);
        }
-       return;
 }
 
 /*