OSDN Git Service

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)
commit02680b31a0b3757e121d27223b6fe21778f52408
tree4258f6cca83a01f1f03a57b7400867bad4d4bde9
parenta5d431eff2e0bb22156897435aa277ddc96074f7
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