]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: drop version variable from ceph_monmap_decode()
authorIlya Dryomov <idryomov@gmail.com>
Fri, 19 May 2017 09:59:22 +0000 (11:59 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 23 May 2017 18:32:22 +0000 (20:32 +0200)
commitb1663af3be8753e353132e710c0857898bc800cc
tree3aaf0752f228d7ef77eb0e3df60dbc9235efd841
parentd7c6b277c3ce3c781998c203ba2e06722c680bd6
libceph: drop version variable from ceph_monmap_decode()

It's set but not used: CEPH_FEATURE_MONNAMES feature bit isn't
advertised, which guarantees a v1 MonMap.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/mon_client.c