Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149510199
D53423.1790322609.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
788 B
Referenced Files
None
Subscribers
None
D53423.1790322609.diff
View Options
diff --git a/sys/amd64/vmm/io/ppt.h b/sys/amd64/vmm/io/ppt.h
--- a/sys/amd64/vmm/io/ppt.h
+++ b/sys/amd64/vmm/io/ppt.h
@@ -42,12 +42,6 @@
int ppt_assigned_devices(struct vm *vm);
bool ppt_is_mmio(struct vm *vm, vm_paddr_t gpa);
-/*
- * Returns the number of devices sequestered by the ppt driver for assignment
- * to virtual machines.
- */
-int ppt_avail_devices(void);
-
/*
* The following functions should never be called directly.
* Use 'vm_assign_pptdev()' and 'vm_unassign_pptdev()' instead.
diff --git a/sys/amd64/vmm/io/ppt.c b/sys/amd64/vmm/io/ppt.c
--- a/sys/amd64/vmm/io/ppt.c
+++ b/sys/amd64/vmm/io/ppt.c
@@ -335,13 +335,6 @@
ppt->msix.num_msgs = 0;
}
-int
-ppt_avail_devices(void)
-{
-
- return (num_pptdevs);
-}
-
int
ppt_assigned_devices(struct vm *vm)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 25, 7:50 AM (13 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29902887
Default Alt Text
D53423.1790322609.diff (788 B)
Attached To
Mode
D53423: amd64/vmm: Remove an unused function
Attached
Detach File
Event Timeline
Log In to Comment