2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-16 01:24:08 +08:00

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>
This commit is contained in:
Amitoj Kaur Chawla 2017-06-29 19:32:50 -04:00 committed by Mauro Carvalho Chehab
parent 5de35c9b8d
commit dd69a3c1de

View File

@ -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,