diff options
author | Yu Zhe <yuzhe@nfschina.com> | 2023-03-17 09:26:03 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-03-24 13:22:28 +0300 |
commit | aedf818b1f196558390916778f56f286698de3dd (patch) | |
tree | 0efded7181f6eb027a5bfc6af24b528630f35f82 /drivers/crypto/img-hash.c | |
parent | 6f15b1ce33f5f70f2454d226b829a34e59aa1bc8 (diff) | |
download | linux-aedf818b1f196558390916778f56f286698de3dd.tar.xz |
crypto: drivers - remove unnecessary (void*) conversions
Pointer variables of void * type do not require type cast.
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/img-hash.c')
-rw-r--r-- | drivers/crypto/img-hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/img-hash.c b/drivers/crypto/img-hash.c index 70d23ef362e0..b04f21854473 100644 --- a/drivers/crypto/img-hash.c +++ b/drivers/crypto/img-hash.c @@ -209,7 +209,7 @@ static int img_hash_xmit_cpu(struct img_hash_dev *hdev, const u8 *buf, static void img_hash_dma_callback(void *data) { - struct img_hash_dev *hdev = (struct img_hash_dev *)data; + struct img_hash_dev *hdev = data; struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); if (ctx->bufcnt) { |