mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] staging: android: Coding style fix
@ 2014-07-12 21:18 Modestas Stankus
  0 siblings, 0 replies; only message in thread
From: Modestas Stankus @ 2014-07-12 21:18 UTC (permalink / raw)
  To: gregkh
  Cc: Modestas Stankus, john.stultz, ccross, rebecca, lauraa,
	benjamin.gaignard, devel, linux-kernel

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(-)

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 = {
-- 
2.0.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-12 21:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-12 21:18 [PATCH] staging: android: Coding style fix Modestas Stankus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®