Re: [Qemu-devel] [PATCH 3/3] opts: remove redundant check for NULL parameter

2018-07-16 Thread Eduardo Habkost
On Mon, May 14, 2018 at 06:19:13PM +0100, Daniel P. Berrangé wrote: > No callers of get_opt_value() pass in a NULL for the "value" parameter, > so the check is redundant. > > Signed-off-by: Daniel P. Berrangé Reviewed-by: Eduardo Habkost Queueing on x86-next. -- Eduardo

[Qemu-devel] [PATCH 3/3] opts: remove redundant check for NULL parameter

2018-05-14 Thread Daniel P . Berrangé
No callers of get_opt_value() pass in a NULL for the "value" parameter, so the check is redundant. Signed-off-by: Daniel P. Berrangé --- util/qemu-option.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/util/qemu-option.c b/util/qemu-option.c index 8a68bc2314..a