Since the function handles a NULL 'mgr' condition, no need for the NONNULL
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
src/util/virhostdev.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/virhostdev.h b/src/util/virhostdev.h
index 7ee0b43..45d1c2e 100644
--- a/src/util/virhostdev.h
+++ b/src/util/virhostdev.h
@@ -164,7 +164,7 @@ virHostdevReAttachDomainDevices(virHostdevManagerPtr mgr,
virDomainDefPtr def,
unsigned int flags,
const char *oldStateDir)
- ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3);
+ ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3);
bool
virHostdevIsSCSIDevice(virDomainHostdevDefPtr hostdev)
ATTRIBUTE_NONNULL(1);
--
2.9.3