]> 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)
commit1983c0a7791ed03fe9896a9fd3104ad7b31b324d
treec0fa7595d2bccd53f3f7514d4f4c673381014830
parente7d1c921f79f9c7e1b0d2d1c3f961ed37881f11d
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