staging: gasket: Remove return variable

Remove return variable and return the return value directly. Issue
suggested by ret.cocci.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Nishka Dasgupta 2019-03-20 00:59:11 +05:30 committed by Greg Kroah-Hartman
parent 180a41bfbf
commit df08e38510
1 changed files with 1 additions and 3 deletions

View File

@ -439,9 +439,7 @@ static int apex_reset(struct gasket_dev *gasket_dev)
if (ret)
return ret;
}
ret = apex_quit_reset(gasket_dev);
return ret;
return apex_quit_reset(gasket_dev);
}
/*