On 7/31/18 12:30 PM, Vladimir Sementsov-Ogievskiy wrote: > We have several paranoiac checks for ioc != NULL. But ioc may become s/paranoiac/paranoid/ sounds nicer, even if both forms are valid words. > NULL only on close, which should not happen during requests handling. > Also, we check ioc only sometimes, not after each yield, which is > inconsistent. Let's drop these checks. However, for safety, lets leave s/lets/let's/ > asserts instead. > > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- > block/nbd-client.c | 16 +++++----------- > 1 file changed, 5 insertions(+), 11 deletions(-) > Reviewed-by: Eric Blake -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org