[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165071974452.502130.12676791188164630002.b4-ty@kernel.dk>
Date: Sat, 23 Apr 2022 07:15:44 -0600
From: Jens Axboe <axboe@...nel.dk>
To: ndesaulniers@...gle.com, michalorzel.eng@...il.com,
trix@...hat.com, nathan@...nel.org
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH RESEND v2 1/5] block/badblocks: Remove redundant assignments
On Sat, 23 Apr 2022 13:38:07 +0200, Michal Orzel wrote:
> Get rid of redundant assignments to a variable sectors from functions
> badblocks_check and badblocks_clear. This variable, that is a function
> parameter, is being assigned a value that is never read until the end of
> function.
>
> Reported by clang-tidy [deadcode.DeadStores]
>
> [...]
Applied, thanks!
[1/5] block/badblocks: Remove redundant assignments
commit: 3de2e5f28cb133f1d9c1b2403079722d0e7b671e
[2/5] block/blk-map: Remove redundant assignment
commit: 7ab89db979017255c2163880de5c63d8c9726aef
[3/5] block/partitions/acorn: Remove redundant assignments
commit: 834726828b47c08e84df02f975e30c5c65bf316b
[4/5] block/partitions/atari: Remove redundant assignment
commit: 87420fa94f6cdd2ae8aa3e1d8602bfa549794fac
[5/5] block/partitions/ldm: Remove redundant assignments
commit: e233fe1aa02815f38588a5a965a197bbcabfb125
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists