[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: Re: [PATCH][next] jbd2: remove redundant assignement to variable err
From: "Theodore Ts'o" <tytso () mit ! edu>
Date: 2024-05-07 23:03:49
Message-ID: 171512302200.3602678.5356035160659391900.b4-ty () mit ! edu
[Download RAW message or body]
On Wed, 10 Apr 2024 12:28:03 +0100, Colin Ian King wrote:
> The variable err is being assigned a value that is never read, it
> is being re-assigned inside the following while loop and also
> after the while loop. The assignment is redundant and can be
> removed.
>
> Cleans up clang scan build warning:
> fs/jbd2/commit.c:574:2: warning: Value stored to 'err' is never
> read [deadcode.DeadStores]
>
> [...]
Applied, thanks!
[1/1] jbd2: remove redundant assignement to variable err
commit: 8b57de1c5edde3faf8a4f6a440b7ec16bb3c81d4
Best regards,
--
Theodore Ts'o <tytso@mit.edu>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic