diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-06-28 18:01:42 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-06-28 19:05:35 +0200 |
commit | 58b3017f7fba15e8c440115dfd5d380f490d0b61 (patch) | |
tree | 17343fbe37603d6778949d46a52935cf3eaf11c0 /include/scsi | |
parent | aad10040d411d21542dc9ae58a2854c89ccedd78 (diff) |
pr-manager: put stubs in .c file
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/pr-manager.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/scsi/pr-manager.h b/include/scsi/pr-manager.h index 5d2f13a5e4..71971ae34a 100644 --- a/include/scsi/pr-manager.h +++ b/include/scsi/pr-manager.h @@ -41,15 +41,6 @@ BlockAIOCB *pr_manager_execute(PRManager *pr_mgr, BlockCompletionFunc *complete, void *opaque); -#ifdef CONFIG_LINUX PRManager *pr_manager_lookup(const char *id, Error **errp); -#else -static inline PRManager *pr_manager_lookup(const char *id, Error **errp) -{ - /* The classes do not exist at all! */ - error_setg(errp, "No persistent reservation manager with id '%s'", id); - return NULL; -} -#endif #endif |