]> git.baikalelectronics.ru Git - kernel.git/commit
fscrypt: remove redundant assignment of res
authorColin Ian King <colin.king@canonical.com>
Tue, 10 Jan 2017 16:57:32 +0000 (16:57 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Feb 2017 04:25:53 +0000 (23:25 -0500)
commitd33a49ced35aae6b111fa8c833657205e1f6709f
tree4258f6cca83a01f1f03a57b7400867bad4d4bde9
parent7963bf0cdc27eb70759c915d887d5048b46e2b4b
fscrypt: remove redundant assignment of res

res is assigned to sizeof(ctx), however, this is unused and res
is updated later on without that assigned value to res ever being
used.  Remove this redundant assignment.

Fixes CoverityScan CID#1395546 "Unused value"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/crypto/keyinfo.c