+0
−13
+1
−23
+8
−16
+7
−15
+16
−44
Loading
Initially done with the following semantic patch:
@ rule1 @
expression E;
statement S;
@@
E =
(
bdrv_aio_readv
| bdrv_aio_writev
| bdrv_aio_flush
| bdrv_aio_discard
| bdrv_aio_ioctl
)
(...);
(
- if (E == NULL) { ... }
|
- if (E)
{ <... S ...> }
)
which however missed the occurrence in block/blkverify.c
(as it should have done), and left behind some unused
variables.
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>