Skip to contentSkip to conversation

staging: android: Coding style fix

PATCH New Modestas Stankus 1 participant 1 message Jul 12, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: android: Coding style fix

This patch fixes warnings of checkpatch.pl script:
WARNING: void function return statements are not generally useful
+ return;
+}

Task of Eudyptula challenge.

---
 drivers/staging/android/ion/ion_carveout_heap.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/android/ion/ion_carveout_heap.c +0 -1
index dcb6f21..9156d82 100644
@@ -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 = {
Signature · 1 line
2.0.1