]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: assume private data callbacks are always non-NULL
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 1 Feb 2018 15:34:06 +0000 (15:34 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 2 Feb 2018 13:00:48 +0000 (13:00 +0000)
commit17398ccef315896a13e5dae938c89a66dbed09f5
treeb37cfaec7d133cab7cfeee548db4e7cbfe8d2f0a
parent72874b2d1113eba323e4c5bdaf6da8717c2b124d
rpc: assume private data callbacks are always non-NULL

Since we annotate the APIs are having non-NULL parameters, we can remove
the checks for NULL in the code too.

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/rpc/virnetserverclient.c