media: staging: atomisp: Remove unnecessary return statement in void function
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Thu, 29 Jun 2017 23:32:50 +0000 (19:32 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 20:21:11 +0000 (16:21 -0400)
commitdd69a3c1ded8fe477febd3e728e312d9a555695d
treee9fd9f7c8dd7b83bf80e9ca3ed9d5b3371ffef8b
parent5de35c9b8dcd10dcedba2917e2ab4c1f3ca28dc6
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>
drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm.c