diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-04-08 07:29:48 +0000 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-05-15 10:29:35 -0400 |
commit | a86fe8be514534363c8fb12a3a38bdba6354316b (patch) | |
tree | c7fb3948e2f1fabd41a1b9d1f6be7ea86ebfec3d /drivers/nubus | |
parent | a5089a95d84c1e861e2d1f549ae368c8e89e3674 (diff) |
dm integrity: remove set but not used variables
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/md/dm-integrity.c: In function 'integrity_metadata':
drivers/md/dm-integrity.c:1557:12: warning:
variable 'save_metadata_offset' set but not used [-Wunused-but-set-variable]
drivers/md/dm-integrity.c:1556:12: warning:
variable 'save_metadata_block' set but not used [-Wunused-but-set-variable]
They are never used, so remove it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions