Skip to content
Commit f91389c8 authored by Yue Haibing's avatar Yue Haibing Committed by Shaohua Li
Browse files

md: remove set but not used variable 'bi_rdev'



Fixes gcc '-Wunused-but-set-variable' warning:

drivers/md/md.c: In function 'md_integrity_add_rdev':
drivers/md/md.c:2149:24: warning:
 variable 'bi_rdev' set but not used [-Wunused-but-set-variable]

It not used any more after commit
  1501efad ("md/raid: only permit hot-add of compatible integrity profiles")

Signed-off-by: default avatarYue Haibing <yuehaibing@huawei.com>
Signed-off-by: default avatarShaohua Li <shli@fb.com>
parent 1d51b4b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment