lkml.org 
[lkml]   [2023]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] RDMA/hfi1: remove redundant assignment to pointer ppd
Date

On Mon, 23 Oct 2023 15:17:33 +0100, Colin Ian King wrote:
> 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]
>
> [...]

Applied, thanks!

[1/1] RDMA/hfi1: remove redundant assignment to pointer ppd
https://git.kernel.org/rdma/rdma/c/b55706366c5ed6

Best regards,
--
Leon Romanovsky <leon@kernel.org>

\
 
 \ /
  Last update: 2023-10-24 17:18    [W:0.073 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site