diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2017-06-29 19:32:50 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-19 16:21:11 -0400 |
commit | dd69a3c1ded8fe477febd3e728e312d9a555695d (patch) | |
tree | e9fd9f7c8dd7b83bf80e9ca3ed9d5b3371ffef8b | |
parent | 5de35c9b8dcd10dcedba2917e2ab4c1f3ca28dc6 (diff) |
media: staging: atomisp: Remove unnecessary return statement in void function
Return statement at the end of a void function is useless.
The Coccinelle semantic patch used to make this change is as follows:
//<smpl>
@@
identifier f;
expression e;
@@
void f(...) {
<...
- return
e;
...>
}
//</smpl>
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm.c b/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm.c index 05eeff58a229..de0426b0a1a4 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm.c @@ -640,7 +640,7 @@ void hmm_vunmap(ia_css_ptr virt) return; } - return hmm_bo_vunmap(bo); + hmm_bo_vunmap(bo); } int hmm_pool_register(unsigned int pool_size, |