diff options
author | Bogdan Purcareata <bogdan.purcareata@gmail.com> | 2017-01-13 00:01:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-16 18:10:26 +0100 |
commit | 250c23fc78252844fb35c2a054babbe78de96553 (patch) | |
tree | a088427b5e0d54a1ade9ba6f0c73be0d6291ef8f /drivers/staging/android | |
parent | 34f973de38d51d5fe264644aced9c33afca7e8a5 (diff) | |
download | op-kernel-dev-250c23fc78252844fb35c2a054babbe78de96553.zip op-kernel-dev-250c23fc78252844fb35c2a054babbe78de96553.tar.gz |
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 <bogdan.purcareata@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r-- | drivers/staging/android/ion/ion_of.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/android/ion/ion_of.c b/drivers/staging/android/ion/ion_of.c index 46b2bb9..7791c70 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 = { |