提交 dd69a3c1 编写于 作者: A Amitoj Kaur Chawla 提交者: Mauro Carvalho Chehab

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: NAmitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: NSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 5de35c9b
...@@ -640,7 +640,7 @@ void hmm_vunmap(ia_css_ptr virt) ...@@ -640,7 +640,7 @@ void hmm_vunmap(ia_css_ptr virt)
return; return;
} }
return hmm_bo_vunmap(bo); hmm_bo_vunmap(bo);
} }
int hmm_pool_register(unsigned int pool_size, int hmm_pool_register(unsigned int pool_size,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册