Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd69a3c1 authored by Amitoj Kaur Chawla's avatar Amitoj Kaur Chawla Committed by Mauro Carvalho Chehab
Browse files

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: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 5de35c9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,