]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: remove unnecessary assignment in ceph_pre_init_acls()
authorChengguang Xu <cgxu519@gmx.com>
Fri, 17 Aug 2018 14:05:31 +0000 (22:05 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 27 Jan 2020 15:53:39 +0000 (16:53 +0100)
commit840d20e633af2bac922b20caefdd19195675305b
tree117a13fd4bf1661f2562a2e34ab32399db9ffecb
parent92acf8a897d8ef4355d55ee10c0e0f1a1cce5e84
ceph: remove unnecessary assignment in ceph_pre_init_acls()

ceph_pagelist_encode_string() will not fail in reserved case,
also, we do not check err code here, so remove unnecessary
assignment.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/acl.c