[PATCH] media: videobuf-dma-sg: void function return statements are not generally useful

From: lijian_8010a29
Date: Wed May 26 2021 - 05:48:38 EST


From: lijian <lijian@xxxxxxxxxx>

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@xxxxxxxxxx>
---
drivers/media/v4l2-core/videobuf-dma-sg.c | 1 -
1 file changed, 1 deletion(-)

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;
}

/*
--
2.25.1