Skip to content

Commit 8bca0b1

Browse files
ying2liuacrnsi
authored andcommitted
DM: remove unused function mptable_add_oemtbl
Change-Id: Icf92fd5bbbfe935960dc47307822827092a46369 Tracked-On: #3123 Signed-off-by: Ying Liu <ying2.liu@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
1 parent bd3f34e commit 8bca0b1

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

devicemodel/core/mptbl.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,6 @@ mpt_build_ioint_entries(int_entry_ptr mpie, int id)
275275
pci_walk_lintr(bus, mpt_generate_pci_int, &mpie);
276276
}
277277

278-
void
279-
mptable_add_oemtbl(void *tbl, int tblsz)
280-
{
281-
oem_tbl_start = tbl;
282-
oem_tbl_size = tblsz;
283-
}
284-
285278
int
286279
mptable_build(struct vmctx *ctx, int ncpu)
287280
{

devicemodel/include/mptbl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,5 @@
3030
#define _MPTBL_H_
3131

3232
int mptable_build(struct vmctx *ctx, int ncpu);
33-
void mptable_add_oemtbl(void *tbl, int tblsz);
3433

3534
#endif /* _MPTBL_H_ */

doc/developer-guides/hld/hld-virtio-devices.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -558,9 +558,6 @@ the virtio framework within DM will invoke them appropriately.
558558
.. doxygenfunction:: virtio_pci_write
559559
:project: Project ACRN
560560

561-
.. doxygenfunction:: virtio_dev_error
562-
:project: Project ACRN
563-
564561
.. doxygenfunction:: virtio_interrupt_init
565562
:project: Project ACRN
566563

@@ -576,12 +573,6 @@ the virtio framework within DM will invoke them appropriately.
576573
.. doxygenfunction:: virtio_set_modern_bar
577574
:project: Project ACRN
578575

579-
.. doxygenfunction:: virtio_pci_modern_cfgread
580-
:project: Project ACRN
581-
582-
.. doxygenfunction:: virtio_pci_modern_cfgwrite
583-
:project: Project ACRN
584-
585576
.. doxygenfunction:: virtio_config_changed
586577
:project: Project ACRN
587578

0 commit comments

Comments
 (0)