Re: [PATCH] block/qcow2-cluster: remove dead code

2020-10-15 Thread Kevin Wolf
Am 15.10.2020 um 14:13 hat Elena Afanasova geschrieben: > Since handle_dependencies() returns 0 or -EAGAIN the following case can be > removed. > Spotted by PVS-Studio. > > Signed-off-by: Elena Afanasova > --- > block/qcow2-cluster.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/bl

[PATCH] block/qcow2-cluster: remove dead code

2020-10-15 Thread Elena Afanasova
Since handle_dependencies() returns 0 or -EAGAIN the following case can be removed. Spotted by PVS-Studio. Signed-off-by: Elena Afanasova --- block/qcow2-cluster.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c index aa87d3e99b..e2e0db0cc9 100