[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 08/25] hw/sd/sd.c: Drop unused sd_acmd_type[] array
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 08/25] hw/sd/sd.c: Drop unused sd_acmd_type[] array |
Date: |
Tue, 10 Jun 2014 20:08:26 +0400 |
From: Peter Maydell <address@hidden>
Drop the sd_acmd_type[] array: it is never used. (The equivalent
sd_cmd_type[] array for normal commands is used to identify
those commands whose argument includes the card address in the
top 16 bits; but for app commands the card address is passed
with the APP_CMD prefix, not with the argument to the app command
itself.)
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
hw/sd/sd.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 4502ad1..5efe8c1 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -151,17 +151,6 @@ static const sd_cmd_type_t sd_cmd_type[64] = {
sd_adtc, sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, sd_none,
};
-static const sd_cmd_type_t sd_acmd_type[64] = {
- sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, sd_ac, sd_none,
- sd_none, sd_none, sd_none, sd_none, sd_none, sd_adtc, sd_none, sd_none,
- sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, sd_adtc, sd_ac,
- sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, sd_none,
- sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, sd_none,
- sd_none, sd_bcr, sd_ac, sd_none, sd_none, sd_none, sd_none, sd_none,
- sd_none, sd_none, sd_none, sd_adtc, sd_none, sd_none, sd_none, sd_none,
- sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, sd_none,
-};
-
static const int sd_cmd_class[64] = {
0, 0, 0, 0, 0, 9, 10, 0, 0, 0, 0, 1, 0, 0, 0, 0,
2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 6, 6, 6, 6,
--
1.7.10.4
- [Qemu-devel] [PULL 12/25] hw/isa/pc87312: Remove unused function is_parallel_epp(), (continued)
- [Qemu-devel] [PULL 12/25] hw/isa/pc87312: Remove unused function is_parallel_epp(), Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 03/25] net: cadence_gem: Comment spelling sweep, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 18/25] vdi: remove double conversion, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 11/25] hw/intc/openpic: Remove unused function IRQ_testbit(), Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 13/25] target-i386/translate.c: Remove unused tcg_gen_lshift(), Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 16/25] hw/net/ne2000-isa: Register vmstate struct, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 07/25] hw/i386/pc.c: Remove unused parallel_io and parallel_irq variables, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 25/25] virtio.c: fix error message, Michael Tokarev, 2014/06/10
- Re: [Qemu-devel] [PULL 00/25] Trivial patches for 2014-06-10, Peter Maydell, 2014/06/10
- [Qemu-devel] [PULL 09/25] util/qemu-sockets.c: Avoid unused variable warnings, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 08/25] hw/sd/sd.c: Drop unused sd_acmd_type[] array,
Michael Tokarev <=
- [Qemu-devel] [PULL 20/25] cpu/x86: correctly set errors in x86_cpu_parse_featurestr, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 15/25] target-microblaze: Delete unused sign_extend() function, Michael Tokarev, 2014/06/10