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)
commit52923083b54e7c6eeec8d78dbb9d209f4b2e9b9e
tree57217a249fae4886410cc8719ee68482ee4fd521
parent5e3b8a8d59b2064f68ab349182f5dc5f5bb4fd30
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