Commit f908abf3 authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman

staging: mt7621-mmc: Remove unused global dma_size

The global variable dma_size was previously used to select DMA or
non-DMA transfer mode based on the size of the data that should be
transferred. This option was removed preivously, so the variable is not
used any more and can be removed.
Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1e653f4f
...@@ -58,14 +58,6 @@ unsigned int sd_debug_zone[4] = { ...@@ -58,14 +58,6 @@ unsigned int sd_debug_zone[4] = {
0 0
}; };
/* mode select */
u32 dma_size[4] = {
512,
512,
512,
512
};
#if defined(MT6575_SD_DEBUG) #if defined(MT6575_SD_DEBUG)
/* for driver profile */ /* for driver profile */
#define TICKS_ONE_MS (13000) #define TICKS_ONE_MS (13000)
......
...@@ -79,8 +79,6 @@ enum msdc_mode { ...@@ -79,8 +79,6 @@ enum msdc_mode {
MODE_SIZE_DEP = 2, MODE_SIZE_DEP = 2,
}; };
extern u32 dma_size[4];
/* Debug message event */ /* Debug message event */
#define DBG_EVT_NONE (0) /* No event */ #define DBG_EVT_NONE (0) /* No event */
#define DBG_EVT_DMA (1 << 0) /* DMA related event */ #define DBG_EVT_DMA (1 << 0) /* DMA related event */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment