Skip to content

Remove some unused structures

Dr. David Alan Gilbert qemu-devel qemu-trivial 1 version Applied

Status from this message: I've picked this patch up and will send with my series that changes the same place to avoid needing to rebase.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7linux-user: cris: Remove unused struct 'rt_signal_frame'linux-user/cris/signal.c+0 -81 reply
2/7linux-user: i386/signal: Remove unused fp structslinux-user/i386/signal.c+0 -102 replies
3/7linux-user: sparc: Remove unused struct 'target_mc_fq'linux-user/sparc/signal.c+0 -51 reply
4/7hw/usb/dev-network: Remove unused struct 'rndis_config_parameter'hw/usb/dev-network.c+0 -81 reply
5/7hw/arm/bcm2836: Remove unusued struct 'BCM283XClass'hw/arm/bcm2836.c+0 -121 reply
6/7target/ppc: Remove unused struct 'mmu_ctx_hash32'target/ppc/mmu-hash32.c+0 -63 replies
7/7net/can: Remove unused struct 'CanBusState'net/can/can_host.c+0 -61 reply

Reviews trailers per patch

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

PatchRichard HendersonBALATON ZoltanPhilippe Mathieu-Daudé
1/7R-b
2/7
3/7
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] Remove some unused structures

A bunch of structs that are currently unused, found with a simple script and a bit of eyeballing.

The only one I'm that suspicious of is the SPARC one, where the patch which removed the use is a bit confusing to me.

Tested with a
--target-list=ppc-softmmu,m68k-softmmu,x86_64-softmmu,arm-softmmu,aarch64-softmmu,cris-linux-user,i386-linux-user,sparc-linux-user
and 'make check' on x86 linux.

Dave

Dr. David Alan Gilbert (7):
linux-user: cris: Remove unused struct 'rt_signal_frame'
linux-user: i386/signal: Remove unused fp structs
linux-user: sparc: Remove unused struct 'target_mc_fq' hw/usb/dev-network: Remove unused struct 'rndis_config_parameter' hw/arm/bcm2836: Remove unusued struct 'BCM283XClass' target/ppc: Remove unused struct 'mmu_ctx_hash32' net/can: Remove unused struct 'CanBusState'

 hw/arm/bcm2836.c          | 12 ------------
 hw/usb/dev-network.c      |  8 --------
 linux-user/cris/signal.c  |  8 --------
 linux-user/i386/signal.c  | 10 ----------
 linux-user/sparc/signal.c |  5 -----
 net/can/can_host.c        |  6 ------
 target/ppc/mmu-hash32.c   |  6 ------
 7 files changed, 55 deletions(-)
Signature · 1 line
2.45.0