[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9042a7ea-2d2b-9cb9-226b-266c35036701@kernel.dk>
Date: Sun, 24 May 2020 10:44:17 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Colin King <colin.king@...onical.com>, linux-block@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] loop: remove redundant assignment to variable error
On 5/24/20 10:10 AM, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable error is being assigned a value that is never
> read so the assignment is redundant and can be removed.
Plus, by definition, we already know that error is zero at the
time of assignment.
--
Jens Axboe
Powered by blists - more mailing lists