summaryrefslogtreecommitdiffstats
path: root/drivers/staging/mt7621-mmc/dbg.c
diff options
context:
space:
mode:
authorChristian Lütke-Stetzkamp <christian@lkamp.de>2018-04-29 19:32:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-06 19:08:06 -0700
commitf908abf3c63eaa8b7ab4df1a7869ef8395d231a9 (patch)
treed7ff2f3bca606ebb26043717a32323edf734b573 /drivers/staging/mt7621-mmc/dbg.c
parent1e653f4fd59376782d78ca187954fb29e7b53241 (diff)
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: Christian Lütke-Stetzkamp <christian@lkamp.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-mmc/dbg.c')
-rw-r--r--drivers/staging/mt7621-mmc/dbg.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/mt7621-mmc/dbg.c b/drivers/staging/mt7621-mmc/dbg.c
index 163c061b440c..d897b1216348 100644
--- a/drivers/staging/mt7621-mmc/dbg.c
+++ b/drivers/staging/mt7621-mmc/dbg.c
@@ -58,14 +58,6 @@ unsigned int sd_debug_zone[4] = {
0
};
-/* mode select */
-u32 dma_size[4] = {
- 512,
- 512,
- 512,
- 512
-};
-
#if defined(MT6575_SD_DEBUG)
/* for driver profile */
#define TICKS_ONE_MS (13000)