aboutsummaryrefslogtreecommitdiff
path: root/hw/sd.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-16 16:33:01 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-16 16:33:01 +0000
commitd78f399542b0b81fab67f31c9a88665943f0571d (patch)
tree78000d67343db1e17e038986d492d6918d335d18 /hw/sd.c
parent7f70c93716412b0874ae231c2f5416edccb22e7f (diff)
downloadqemu-d78f399542b0b81fab67f31c9a88665943f0571d.zip
qemu-d78f399542b0b81fab67f31c9a88665943f0571d.tar.gz
qemu-d78f399542b0b81fab67f31c9a88665943f0571d.tar.bz2
Delete some unused macros detected with -Wp,-Wunused-macros use
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6856 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sd.c')
-rw-r--r--hw/sd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/sd.c b/hw/sd.c
index fa1c02c..4618883 100644
--- a/hw/sd.c
+++ b/hw/sd.c
@@ -242,8 +242,6 @@ static void sd_set_cid(SDState *sd)
#define SECTOR_SHIFT 5 /* 16 kilobytes */
#define WPGROUP_SHIFT 7 /* 2 megs */
#define CMULT_SHIFT 9 /* 512 times HWBLOCK_SIZE */
-#define BLOCK_SIZE (1 << (HWBLOCK_SHIFT))
-#define SECTOR_SIZE (1 << (HWBLOCK_SHIFT + SECTOR_SHIFT))
#define WPGROUP_SIZE (1 << (HWBLOCK_SHIFT + SECTOR_SHIFT + WPGROUP_SHIFT))
static const uint8_t sd_csd_rw_mask[16] = {