diff options
author | Dan Carpenter | 2017-09-06 08:26:00 +0200 |
---|---|---|
committer | Jens Axboe | 2017-09-06 16:17:33 +0200 |
commit | da22f0eea555baf9b0a84b52afe56db2052cfe8d (patch) | |
tree | f9bcc1c208542f271d9bd6813571d50791aecf3f /drivers/extcon | |
parent | bcache: fix for gc and write-back race (diff) | |
download | kernel-qcow2-linux-da22f0eea555baf9b0a84b52afe56db2052cfe8d.tar.gz kernel-qcow2-linux-da22f0eea555baf9b0a84b52afe56db2052cfe8d.tar.xz kernel-qcow2-linux-da22f0eea555baf9b0a84b52afe56db2052cfe8d.zip |
bcache: silence static checker warning
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>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions