[PATCH 4/5] staging: android: ion: ion_carveout_heap.c Fix checkpatch warning

Phong Tran tranmanphong at gmail.com
Tue Aug 12 16:17:29 UTC 2014


This patch fix coding style

- Remove return of void function

Tested by compilation

Signed-off-by: Phong Tran <tranmanphong at gmail.com>
---
 drivers/staging/android/ion/ion_carveout_heap.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/android/ion/ion_carveout_heap.c b/drivers/staging/android/ion/ion_carveout_heap.c
index dcb6f21..9156d82 100644
--- a/drivers/staging/android/ion/ion_carveout_heap.c
+++ b/drivers/staging/android/ion/ion_carveout_heap.c
@@ -133,7 +133,6 @@ static struct sg_table *ion_carveout_heap_map_dma(struct ion_heap *heap,
 static void ion_carveout_heap_unmap_dma(struct ion_heap *heap,
 					struct ion_buffer *buffer)
 {
-	return;
 }
 
 static struct ion_heap_ops carveout_heap_ops = {
-- 
1.9.3



More information about the devel mailing list