diff options
author | Jean Sacren <sakiwit@gmail.com> | 2021-10-11 00:45:24 -0600 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2021-11-08 03:29:51 +0100 |
commit | a341131eb31e55c31f61c038f152a66634d16095 (patch) | |
tree | b7e6eb8f1ff1468c8e6a58e9b70bcd64e1c5d21f /fs/ceph/io.c | |
parent | 9c43ff4490ef1d721877fdfdb4ff2d9bda93f391 (diff) | |
download | linux-a341131eb31e55c31f61c038f152a66634d16095.tar.gz linux-a341131eb31e55c31f61c038f152a66634d16095.tar.bz2 linux-a341131eb31e55c31f61c038f152a66634d16095.zip |
libceph: drop ->monmap and err initialization
Call to build_initial_monmap() is one stone two birds. Explicitly it
initializes err variable. Implicitly it initializes ->monmap via call to
kzalloc(). We should only declare err and ->monmap is taken care of by
ceph_monc_init() prototype.
Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/io.c')
0 files changed, 0 insertions, 0 deletions