* [PATCH] media: videobuf-dma-sg: void function return statements are not generally useful
@ 2021-05-26 9:47 lijian_8010a29
0 siblings, 0 replies; only message in thread
From: lijian_8010a29 @ 2021-05-26 9:47 UTC (permalink / raw)
To: mchehab, akpm, daniel.m.jordan, rppt, walken, vbabka
Cc: linux-media, linux-kernel, lijian
From: lijian <lijian@yulong.com>
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>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-26 9:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 9:47 [PATCH] media: videobuf-dma-sg: void function return statements are not generally useful lijian_8010a29
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.