]> git.baikalelectronics.ru Git - kernel.git/commit
staging: gasket: remove else clause after return in if clause
authorTodd Poynor <toddpoynor@google.com>
Fri, 20 Jul 2018 03:49:10 +0000 (20:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jul 2018 06:50:35 +0000 (08:50 +0200)
commit73f3fe7aad835ad63b0fa6821a2f37fad50db389
treec0fa7595d2bccd53f3f7514d4f4c673381014830
parent9a8d90d8d7fd42f152e158bb3dd62b58e4770842
staging: gasket: remove else clause after return in if clause

Else after return is unnecessary and may cause static code checkers to
complain.

Reported-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Simon Que <sque@chromium.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_page_table.c