Skip to content
Commit 9b4e9f5a authored by Florian Schmaus's avatar Florian Schmaus Committed by Jens Axboe
Browse files

bcache: do not assign in if condition in bcache_device_init()



Fixes an error condition reported by checkpatch.pl which is caused by
assigning a variable in an if condition.

Signed-off-by: default avatarFlorian Schmaus <flo@geekplace.eu>
Signed-off-by: default avatarColy Li <colyli@suse.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 16c1fdf4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment