[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] nbd: Drop dead code spotted by Coverity
From: |
Peter Maydell |
Subject: |
Re: [PATCH] nbd: Drop dead code spotted by Coverity |
Date: |
Tue, 17 May 2022 08:37:54 +0100 |
On Mon, 16 May 2022 at 22:05, Eric Blake <eblake@redhat.com> wrote:
>
> CID 1488362 points out that the second 'rc >= 0' check is now dead
> code.
>
> Reported-by: Peter Maydell <peter.maydell@linaro.org>
> Fixes: 172f5f1a40(nbd: remove peppering of nbd_client_connected)
> Signed-off-by: Eric Blake <eblake@redhat.com>
> ---
> block/nbd.c | 8 ++------
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM