util: Remove NONNULL(1) for virHostdevReAttachDomainDevices

Since the function handles a NULL 'mgr' condition, no need for the NONNULL
This commit is contained in:
John Ferlan 2017-03-22 08:30:15 -04:00
parent 40f2a476d1
commit cd0ed1456d

View File

@ -164,7 +164,7 @@ virHostdevReAttachDomainDevices(virHostdevManagerPtr mgr,
virDomainDefPtr def, virDomainDefPtr def,
unsigned int flags, unsigned int flags,
const char *oldStateDir) const char *oldStateDir)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3); ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3);
bool bool
virHostdevIsSCSIDevice(virDomainHostdevDefPtr hostdev) virHostdevIsSCSIDevice(virDomainHostdevDefPtr hostdev)
ATTRIBUTE_NONNULL(1); ATTRIBUTE_NONNULL(1);