]> git.dujemihanovic.xyz Git - linux.git/commit
gfs2: remove dead code in add_to_queue
authorSu Hui <suhui@nfschina.com>
Thu, 2 Nov 2023 01:51:42 +0000 (09:51 +0800)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 6 Nov 2023 00:51:26 +0000 (01:51 +0100)
commitbb25b97562e52b2b5808b348db32568b1f5394b5
treea03d2656bb0717e73b700f5eda26b87bd5eed8e5
parentbdcb8aa434c6d36b5c215d02a9ef07551be25a37
gfs2: remove dead code in add_to_queue

clang static analyzer complains that value stored to 'gh' is never read.
The code of this line is useless after commit 0b93bac2271e
("gfs2: Remove LM_FLAG_PRIORITY flag"). Remove this code to save space.

Signed-off-by: Su Hui <suhui@nfschina.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.c