summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlijian <lijian@yulong.com>2021-05-26 11:47:12 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-06-02 14:18:36 +0200
commit2bcfc81147b9266a521e5cfe2d9abbf64a2ceef4 (patch)
treeec553942c22b5f64dbbc69500ac5409114c77dec
parent35037eab4acae8c2d01612d906d479f7006a733c (diff)
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 <lijian@yulong.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r--drivers/media/v4l2-core/videobuf-dma-sg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/v4l2-core/videobuf-dma-sg.c b/drivers/media/v4l2-core/videobuf-dma-sg.c
index 8dd0562de287..f75e5eedeee0 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;
}
/*