Skip to content

Remove more unused functions

Thomas Huth qemu-devel qemu-trivial 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 6 repliesApplied
  2. v18 patches 5 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7migration: Remove unused functionsinclude/migration/migration.h include/migration/qemu-file.h migration/migration.c +1 more+0 -651 reply
2/7vmxnet: Remove unused function vmxnet_rx_pkt_get_num_frags()hw/net/vmxnet_rx_pkt.c hw/net/vmxnet_rx_pkt.h+0 -161 reply
3/7pci: Remove unused function ich9_d2pbr_init()hw/pci-bridge/i82801b11.c include/hw/i386/ich9.h+0 -222 replies
4/7monitor: Remove unused functionshmp.h include/monitor/monitor.h monitor.c+0 -150 replies
5/7usb: Remove unused functionshw/usb/core.c include/hw/usb.h+0 -460 replies
6/7util: Remove unused functionsinclude/qemu-common.h include/qemu/compatfd.h util/compatfd.c +1 more+0 -900 replies
7/7Remove various unused functionsbackends/tpm.c hw/char/serial.c include/hw/char/serial.h +3 more+0 -340 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchGerd HoffmannMichael S. Tsirkin
1/7
2/7
3/7R-b
4/7
5/7R-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/7] Remove more unused functions

Here are some more patches to remove completely unused functions from QEMU. Please review carefully, some of the functions might still get usefull in the future again, so if you discover one, please let me know, then I'll remove it from the patch series again.

v2: Changed series according to review comment from v1:
- Dropped the patch to remove portio_list_destroy() and portio_list_del()
- Keep the ARI functions in the pci patch since they might get useful again

Thomas Huth (7):
migration: Remove unused functions
vmxnet: Remove unused function vmxnet_rx_pkt_get_num_frags()
pci: Remove unused function ich9_d2pbr_init()
monitor: Remove unused functions
usb: Remove unused functions
util: Remove unused functions
Remove various unused functions

 backends/tpm.c                   |   11 ------
 hmp.h                            |    1 -
 hw/char/serial.c                 |    7 ----
 hw/net/vmxnet_rx_pkt.c           |    7 ----
 hw/net/vmxnet_rx_pkt.h           |    9 -----
 hw/pci-bridge/i82801b11.c        |   21 ------------
 hw/usb/core.c                    |   41 -----------------------
 include/hw/char/serial.h         |    1 -
 include/hw/i386/ich9.h           |    1 -
 include/hw/usb.h                 |    5 ---
 include/migration/migration.h    |    1 -
 include/migration/qemu-file.h    |    2 -
 include/monitor/monitor.h        |    1 -
 include/qemu-common.h            |    4 --
 include/qemu/compatfd.h          |    1 -
 include/sysemu/iothread.h        |    1 -
 include/sysemu/tpm_backend_int.h |    2 -
 iothread.c                       |   12 -------
 migration/migration.c            |    9 -----
 migration/qemu-file-buf.c        |   53 ------------------------------
 monitor.c                        |   13 -------
 util/compatfd.c                  |   19 -----------
 util/osdep.c                     |   66 --------------------------------------
 23 files changed, 0 insertions(+), 288 deletions(-)