]> git.baikalelectronics.ru Git - kernel.git/commit
udf: remove redundant assignment of variable etype
authorColin Ian King <colin.i.king@gmail.com>
Mon, 7 Mar 2022 15:21:49 +0000 (15:21 +0000)
committerJan Kara <jack@suse.cz>
Tue, 8 Mar 2022 08:00:58 +0000 (09:00 +0100)
commitd8ab22284964d4ef40d2ba13eafef81470316b1f
treea0b0143960c4ab58a640794279f5f922741b40d6
parenta4d4373f83d27673823aa0fdb514ba9b92f2ae52
udf: remove redundant assignment of variable etype

Variable etype is being assigned a value that is never read. The
variable and assignment are redundant and can be removed.

Cleans up clang scan build warning:
fs/udf/super.c:2485:10: warning: Although the value stored to 'etype'
is used in the enclosing expression, the value is never actually read
from 'etype' [deadcode.DeadStores]

Link: https://lore.kernel.org/r/20220307152149.139045-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c