Commit c62a4073 authored by George Hilliard's avatar George Hilliard Committed by Greg Kroah-Hartman

staging: mt7621-mmc: Remove obsolete comments and variables

These comments don't contain useful code or alternate implementation
ideas.  Remove them.
Signed-off-by: default avatarGeorge Hilliard <thirtythreeforty@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ea9420ce
...@@ -39,8 +39,6 @@ ...@@ -39,8 +39,6 @@
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/mmc/host.h> #include <linux/mmc/host.h>
// #include <mach/mt6575_reg_base.h> /* --- by chhung */
/*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/
/* Common Definition */ /* Common Definition */
/*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/
...@@ -418,7 +416,6 @@ struct msdc_host { ...@@ -418,7 +416,6 @@ struct msdc_host {
int error; int error;
spinlock_t lock; /* mutex */ spinlock_t lock; /* mutex */
struct semaphore sem;
u32 blksz; /* host block size */ u32 blksz; /* host block size */
void __iomem *base; /* host base address */ void __iomem *base; /* host base address */
......
...@@ -100,7 +100,6 @@ static int cd_active_low = 1; ...@@ -100,7 +100,6 @@ static int cd_active_low = 1;
struct msdc_hw msdc0_hw = { struct msdc_hw msdc0_hw = {
.clk_src = 0, .clk_src = 0,
.flags = MSDC_CD_PIN_EN | MSDC_REMOVABLE, .flags = MSDC_CD_PIN_EN | MSDC_REMOVABLE,
// .flags = MSDC_WP_PIN_EN | MSDC_CD_PIN_EN | MSDC_REMOVABLE,
}; };
/* end of +++ */ /* end of +++ */
...@@ -1669,7 +1668,6 @@ static int msdc_drv_probe(struct platform_device *pdev) ...@@ -1669,7 +1668,6 @@ static int msdc_drv_probe(struct platform_device *pdev)
host->timeout_clks = DEFAULT_DTOC * 65536; host->timeout_clks = DEFAULT_DTOC * 65536;
host->mrq = NULL; host->mrq = NULL;
//init_MUTEX(&host->sem); /* we don't need to support multiple threads access */
dma_coerce_mask_and_coherent(mmc_dev(mmc), DMA_BIT_MASK(32)); dma_coerce_mask_and_coherent(mmc_dev(mmc), DMA_BIT_MASK(32));
......
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