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)
commitd80865bff5201cc56bc247989ebbab6169b3a101
tree117a13fd4bf1661f2562a2e34ab32399db9ffecb
parent8f5ac172abb79171eac9ecb7bedc071b56630097
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