mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user