Am 26.04.2017 um 04:03 hat Fam Zheng geschrieben:
> Reported by Coverity. We already use bs in bdrv_inc_in_flight before
> checking for NULL. It is unnecessary as all callers pass non-NULL bs, so
> drop it.
>
> Signed-off-by: Fam Zheng
Thanks, applied to block-next.
Kevin
On 26.04.2017 04:03, Fam Zheng wrote:
> Reported by Coverity. We already use bs in bdrv_inc_in_flight before
> checking for NULL. It is unnecessary as all callers pass non-NULL bs, so
> drop it.
>
> Signed-off-by: Fam Zheng
> ---
> block/io.c | 2 +-
> 1 file changed, 1
Reported by Coverity. We already use bs in bdrv_inc_in_flight before
checking for NULL. It is unnecessary as all callers pass non-NULL bs, so
drop it.
Signed-off-by: Fam Zheng
---
block/io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/io.c