Skip to content
Commit b5570636 authored by Colin Ian King's avatar Colin Ian King Committed by Leon Romanovsky
Browse files

RDMA/hfi1: Remove redundant assignment to pointer ppd



Pointer ppd is being assigned a value in a for-loop however it
is never read. The assignment is redundant and can be removed.
Cleans up clang scan build warning:

drivers/infiniband/hw/hfi1/init.c:1030:3: warning: Value stored
to 'ppd' is never read [deadcode.DeadStores]

Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20231023141733.667807-1-colin.i.king@gmail.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 02e7d139
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment