qemu: remove set but unused variables
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 24 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | ppce500: move device/vendor/class id to qdevhw/ | +3 | 1 reply | |
| 2/10 | usb-ehci: move device/vendor/class id to qdevhw/ | +4 | 0 replies | |
| 3/10 | usb-ehci: remove unused variableshw/ | +1 | 1 reply | |
| 4/10 | lsi53c895a: remove unused variableshw/ | +0 | 1 reply | |
| 5/10 | wdt: remove unused variableshw/ | +0 | 1 reply | |
| 6/10 | kvm: remove unused variableshw/ target-i386/ | +6 | 5 replies | |
| 7/10 | alpha/translate: remve unused variablestarget-alpha/ | +1 | 1 reply | |
| 8/10 | alpha: remove unused variabletarget-alpha/ | +6 | 3 replies | |
| 9/10 | exec: remove unused variableexec.c | +4 | 2 replies | |
| 10/10 | linux-user: remove unused variableslinux-user/ linux-user/ linux-user/ +2 more | +10 | 9 replies |
Reviews trailers per patch
2 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Isaku Yamahata |
|---|---|---|
| 1/10 | ||
| 2/10 | ||
| 3/10 | ||
| 4/10 | ||
| 5/10 | Acked-off-by | |
| 6/10 | ||
| 7/10 | A-b | |
| 8/10 | A-b | |
| 9/10 | ||
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] qemu: remove set but unused variables
Switched to FC15 and qemu build with -Werror fails. The reason is that with gcc 4.6.0, -Werror makes the build fail on variables that are set but never used.
XXX: In function ‘xxx’:
XXX:XXX:XX: error: variable ‘xx’ set but not used [-Werror=unused-but-set-variable]
The following patchset removes such variables
from the codebase.
Note: the warning could actually point to a
bug in code. Pls review carefully.
Build tested only.
Signature · 32 lines
MST Michael S. Tsirkin (10): ppce500: move device/vendor/class id to qdev usb-ehci: move device/vendor/class id to qdev usb-ehci: remove unused variables lsi53c895a: remove unused variables wdt: remove unused variables kvm: remove unused variables alpha/translate: remve unused variables alpha: remove unused variable exec: remove unused variable linux-user: remove unused variables exec.c | 4 ++++ hw/lsi53c895a.c | 2 -- hw/ppce500_pci.c | 13 +++---------- hw/usb-ehci.c | 19 +++++-------------- hw/virtio-pci.h | 8 +++++--- hw/wdt_i6300esb.c | 3 --- linux-user/flatload.c | 10 ++++++---- linux-user/linuxload.c | 25 +------------------------ linux-user/main.c | 6 +++--- linux-user/signal.c | 5 ----- linux-user/syscall.c | 6 ------ target-alpha/translate.c | 10 +++++++--- target-i386/kvm.c | 3 +-- 13 files changed, 35 insertions(+), 79 deletions(-) -- 1.7.5.53.gc233e