From: Bogdan Purcareata Date: Thu, 12 Jan 2017 22:01:54 +0000 (+0200) Subject: staging: android/ion: Don't use return in void function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=250c23fc78252844fb35c2a054babbe78de96553;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: android/ion: Don't use return in void function Return statements are superfluous in void functions, and checkpatch complains about them too. Remove offending return. Signed-off-by: Bogdan Purcareata Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/ion/ion_of.c b/drivers/staging/android/ion/ion_of.c index 46b2bb99bfd6..7791c705ea31 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 = {