Messages in this thread | | | Subject | Re: [PATCH][next] loop: remove redundant assignment to variable error | From | Jens Axboe <> | Date | Sun, 24 May 2020 10:44:17 -0600 |
| |
On 5/24/20 10:10 AM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.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
| |