bhyve: Remove unused return value from spinup_ap.
Reviewed by: corvink, markj Differential Revision: https://reviews.freebsd.org/D37641
This commit is contained in:
parent
007d9ca5dd
commit
e7d5d2d187
@ -76,7 +76,7 @@ spinup_ap_realmode(struct vmctx *ctx, int newcpu, uint64_t *rip)
|
||||
assert(error == 0);
|
||||
}
|
||||
|
||||
int
|
||||
void
|
||||
spinup_ap(struct vmctx *ctx, int newcpu, uint64_t rip)
|
||||
{
|
||||
int error;
|
||||
@ -104,6 +104,4 @@ spinup_ap(struct vmctx *ctx, int newcpu, uint64_t rip)
|
||||
spinup_ap_realmode(ctx, newcpu, &rip);
|
||||
|
||||
vm_resume_cpu(ctx, newcpu);
|
||||
|
||||
return (newcpu);
|
||||
}
|
||||
|
@ -31,6 +31,6 @@
|
||||
#ifndef _SPINUP_AP_H_
|
||||
#define _SPINUP_AP_H_
|
||||
|
||||
int spinup_ap(struct vmctx *ctx, int newcpu, uint64_t rip);
|
||||
void spinup_ap(struct vmctx *ctx, int newcpu, uint64_t rip);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user