misc: mic: Remove return statements from void functions
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Fri, 18 Mar 2016 19:10:58 +0000 (00:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 20:53:19 +0000 (13:53 -0700)
commitfee268767ce8bfdb5389b84cd02ba7837b5350d5
tree44f155ddbb1ad3afea2ffe65398591c29845387f
parent05c4569b7f74889ac206fcdc0ac50afa24aca0fc
misc: mic: Remove return statements from void functions

Return statements at the end of void functions are 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/host/mic_boot.c