mirror of https://gitee.com/openkylin/libvirt.git
conf: Remove NONNULL(2) for virNetDevBandwidthParse
Since the code checks and handles a NULL 'node' before proceeding there's no need for the prototype with the NONNULL(2). Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
91d28d993f
commit
273e71e79a
src/conf
|
@ -32,7 +32,7 @@
|
|||
int virNetDevBandwidthParse(virNetDevBandwidthPtr *bandwidth,
|
||||
xmlNodePtr node,
|
||||
int net_type)
|
||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_RETURN_CHECK;
|
||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_RETURN_CHECK;
|
||||
int virNetDevBandwidthFormat(virNetDevBandwidthPtr def,
|
||||
virBufferPtr buf)
|
||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
|
||||
|
|
Loading…
Reference in New Issue