]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
crypto: tools/ccp - Remove unused variable
authorZhu Jun <zhujun2@cmss.chinamobile.com>
Tue, 20 Aug 2024 07:42:42 +0000 (00:42 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Aug 2024 10:22:30 +0000 (18:22 +0800)
the variable is never referenced in the code, just remove them.

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
tools/crypto/ccp/dbc.c

index a807df0f059740350f79926d226604479f95cb11..80248d3d3a5a7e44333fddec3516ee92b9bd9574 100644 (file)
@@ -57,7 +57,6 @@ int process_param(int fd, int msg_index, __u8 *signature, int *data)
                .msg_index = msg_index,
                .param = *data,
        };
-       int ret;
 
        assert(signature);
        assert(data);