summaryrefslogtreecommitdiffstats
path: root/crypto/algif_aead.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-08-25 12:24:31 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-25 12:42:33 -0700
commite0fcfe1f1acf2f129e0809ea89b9187e89e84246 (patch)
tree1f2a04b0351a580d15cfe5d686e02f0a076a96e8 /crypto/algif_aead.c
parent7634ccd2da9734975cf7ce25139a7d4e8575b048 (diff)
downloadlinux-stable-e0fcfe1f1acf2f129e0809ea89b9187e89e84246.tar.gz
linux-stable-e0fcfe1f1acf2f129e0809ea89b9187e89e84246.tar.bz2
linux-stable-e0fcfe1f1acf2f129e0809ea89b9187e89e84246.zip
hpfs: remove unnecessary checks on the value of r when assigning error code
At the point where r is being checked for different values, r is always going to be equal to 2 as the previous if statements jump to end or end1 if r is not 2. Hence the assignment to err can be simplified to just err an assignment without any checks on the value or r. Detected by CoverityScan, CID#1226737 ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/algif_aead.c')
0 files changed, 0 insertions, 0 deletions