[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKYAXd93MfgCxX8it9OmrTBU7yS3phsu4nv++J=pRAKYzqGEYg@mail.gmail.com>
Date: Sat, 6 May 2023 09:57:59 +0900
From: Namjae Jeon <linkinjeon@...nel.org>
To: Colin Ian King <colin.i.king@...il.com>
Cc: Anton Altaparmakov <anton@...era.com>,
linux-ntfs-dev@...ts.sourceforge.net,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
Christian Brauner <brauner@...nel.org>
Subject: Re: [PATCH] ntfs: remove redundant initialization to pointer cb_sb_start
2023-04-19 0:36 GMT+09:00, Colin Ian King <colin.i.king@...il.com>:
> The pointer cb_sb_start is being initialized with a value that is never
> read, it is being re-assigned the same value later on when it is first
> being used. The initialization is redundant and can be removed.
>
> Cleans up clang scan build warning:
> fs/ntfs/compress.c:164:6: warning: Value stored to 'cb_sb_start' during its
> initialization is never read [deadcode.DeadStores]
> u8 *cb_sb_start = cb; /* Beginning of the current sb in the cb.
> */
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
Reviewed-by: Namjae Jeon <linkinjeon@...nel.org>
Powered by blists - more mailing lists