]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: remove redundant variable ino
authorColin Ian King <colin.i.king@gmail.com>
Wed, 18 May 2022 08:55:08 +0000 (09:55 +0100)
committerXiubo Li <xiubli@redhat.com>
Wed, 18 May 2022 14:20:33 +0000 (22:20 +0800)
commit1b13e50a5028445a154b0581349b5b673daa243c
treeb36013245e23e38f8978b4216fa40be2ffc66279
parent840c008f95e62a3ae30cc136e9930ab2377e7fd1
ceph: remove redundant variable ino

Variable ino is being assigned a value that is never read. The variable
and assignment are redundant, remove it.

Cleans up clang scan build warning:
warning: Although the value stored to 'ino' is used in the enclosing
expression, the value is never actually read from 'ino'
[deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
fs/ceph/mds_client.c