]> asedeno.scripts.mit.edu Git - linux.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)
commit6d8a1d564bc01b1f3402d229acb98f779440c5e3
treec0fa7595d2bccd53f3f7514d4f4c673381014830
parentc5172a29d7386753e19f4860351b0fda06863d47
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