From: lijian Date: Wed, 26 May 2021 09:47:12 +0000 (+0200) Subject: media: videobuf-dma-sg: void function return statements are not generally useful X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2bcfc81147b9266a521e5cfe2d9abbf64a2ceef4;p=linux.git media: videobuf-dma-sg: void function return statements are not generally useful void function videobuf_vm_close return statements are not generally useful, so deleted the return in function videobuf_vm_close(). Signed-off-by: lijian Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/v4l2-core/videobuf-dma-sg.c b/drivers/media/v4l2-core/videobuf-dma-sg.c index 8dd0562de287c..f75e5eedeee05 100644 --- a/drivers/media/v4l2-core/videobuf-dma-sg.c +++ b/drivers/media/v4l2-core/videobuf-dma-sg.c @@ -423,7 +423,6 @@ static void videobuf_vm_close(struct vm_area_struct *vma) videobuf_queue_unlock(q); kfree(map); } - return; } /*