summaryrefslogtreecommitdiff
path: root/crypto/geniv.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-10-31 15:58:57 +0000
committerFan Wu <wufan@kernel.org>2024-11-19 13:57:03 -0800
commit9080d11a6c5c1fbf27127afdef84d8dcd65b91ff (patch)
treeeacbf95c98ba8ce212d219a4dcd29889e0fa9061 /crypto/geniv.c
parentadc218676eef25575469234709c2d87185ca223a (diff)
scripts: ipe: polgen: remove redundant close and error exit path
Currently if an fopen fails the error exit path is via code that checks if fp is not null and closes the file, however, fp is null so this check and close is redundant. Since the only use of the err exit label is on the fopen check, remove it and replace the code with a simple return of errno. Also remove variable rc since it's no longer required. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Fan Wu <wufan@kernel.org>
Diffstat (limited to 'crypto/geniv.c')
0 files changed, 0 insertions, 0 deletions