accel/qaic: remove redundant pointer pexec
authorColin Ian King <colin.i.king@gmail.com>
Wed, 26 Jul 2023 14:06:26 +0000 (15:06 +0100)
committerJeffrey Hugo <quic_jhugo@quicinc.com>
Wed, 2 Aug 2023 15:14:18 +0000 (09:14 -0600)
commitcc69c93bcb50b31209388663cd5c1246cc5769fd
treea5c47ac217055b644e13e1fa0af8e6e77e4644c7
parent3a63ef6e4b9e9db6d1e131f9477f0f4006c894d9
accel/qaic: remove redundant pointer pexec

Pointer pexec is being assigned a value however it is never read. The
assignment is redundant and can be removed. Replace sizeof(*pexec)
with sizeof the type and remove the declaration of pointer pexec.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230726140626.264952-1-colin.i.king@gmail.com
drivers/accel/qaic/qaic_data.c