[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160923080517.421-5-giannis.damigos@gmail.com>
Date: Fri, 23 Sep 2016 11:05:17 +0300
From: giannis.damigos@...il.com
To: markus.boehme@...lbox.org, gregkh@...uxfoundation.org
Cc: arve@...roid.com, riandrews@...roid.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Yannis Damigos <giannis.damigos@...il.com>
Subject: [PATCHv2 5/5] staging:android:ion: Fix void function return
From: Yannis Damigos <giannis.damigos@...il.com>
This patch removes the return statement of void function
WARNING: void function return statements are not generally useful
+ return;
+}
Signed-off-by: Yannis Damigos <giannis.damigos@...il.com>
---
drivers/staging/android/ion/ion_of.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/android/ion/ion_of.c b/drivers/staging/android/ion/ion_of.c
index 49f052c..c930416 100644
--- a/drivers/staging/android/ion/ion_of.c
+++ b/drivers/staging/android/ion/ion_of.c
@@ -161,7 +161,6 @@ static int rmem_ion_device_init(struct reserved_mem *rmem, struct device *dev)
static void rmem_ion_device_release(struct reserved_mem *rmem,
struct device *dev)
{
- return;
}
static const struct reserved_mem_ops rmem_dma_ops = {
--
2.10.0
Powered by blists - more mailing lists