bcache: silence static checker warning
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Sep 2017 06:26:00 +0000 (14:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jan 2020 09:24:40 +0000 (10:24 +0100)
commit94e7963c765f300f2ed7d7adb0f2bd266fd374ac
treee2f078ff1b9f6517a3d6282946e9d618530da14a
parentb5e6f199de3b7f16b641c4ec5ac92906af1a9232
bcache: silence static checker warning

commit da22f0eea555baf9b0a84b52afe56db2052cfe8d upstream.

In olden times, closure_return() used to have a hidden return built in.
We removed the hidden return but forgot to add a new return here.  If
"c" were NULL we would oops on the next line, but fortunately "c" is
never NULL.  Let's just remove the if statement.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/bcache/super.c