diff options
author | Jia Yang <jiayang5@huawei.com> | 2020-07-23 10:25:52 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-08-03 11:05:27 +0200 |
commit | 8e298deb8d8c449d87acceab8c8bfef71b67b08d (patch) | |
tree | e7bcc7e632d1400b15bbea85c4e57c046ea0f2b1 /fs/ceph/dir.c | |
parent | f1f565a26976612121f97464f9245307422d0ce8 (diff) |
ceph: remove unused variables in ceph_mdsmap_decode()
Fix build warnings:
fs/ceph/mdsmap.c: In function ‘ceph_mdsmap_decode’:
fs/ceph/mdsmap.c:192:7: warning: variable ‘info_cv’ set but not used [-Wunused-but-set-variable]
fs/ceph/mdsmap.c:177:7: warning: variable ‘state_seq’ set but not used [-Wunused-but-set-variable]
fs/ceph/mdsmap.c:123:15: warning: variable ‘mdsmap_cv’ set but not used [-Wunused-but-set-variable]
Note that p is increased in ceph_decode_*.
Signed-off-by: Jia Yang <jiayang5@huawei.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/dir.c')
0 files changed, 0 insertions, 0 deletions