]> git.baikalelectronics.ru Git - kernel.git/commit
md: raid5-cache: Remove set but unused variable
authorDamien Le Moal <damien.lemoal@wdc.com>
Thu, 16 Jul 2020 04:54:41 +0000 (13:54 +0900)
committerSong Liu <songliubraving@fb.com>
Thu, 16 Jul 2020 05:46:07 +0000 (22:46 -0700)
commita8a0809fe5e7e75c05ad7f09d8a30138850768b5
tree57217a249fae4886410cc8719ee68482ee4fd521
parent5955f8baca662f71a4a7e252bc0440dbb312125f
md: raid5-cache: Remove set but unused variable

Remove the variable offset in r5c_tree_index() to avoid a "set but not
used" compilation warning when compiling with W=1.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid5-cache.c