]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: mt7621-mmc: Remove obsolete comments and variables
authorGeorge Hilliard <thirtythreeforty@gmail.com>
Tue, 19 Mar 2019 02:20:03 +0000 (20:20 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Mar 2019 07:23:17 +0000 (08:23 +0100)
These comments don't contain useful code or alternate implementation
ideas.  Remove them.

Signed-off-by: George Hilliard <thirtythreeforty@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/mt6575_sd.h
drivers/staging/mt7621-mmc/sd.c

index 038a484a94760b124befee7793e6fc75f5ff4888..8b6cf17175cd46b5c3c5376886a52465db828dc1 100644 (file)
@@ -39,8 +39,6 @@
 #include <linux/bitops.h>
 #include <linux/mmc/host.h>
 
-// #include <mach/mt6575_reg_base.h> /* --- by chhung */
-
 /*--------------------------------------------------------------------------*/
 /* Common Definition                                                        */
 /*--------------------------------------------------------------------------*/
@@ -418,7 +416,6 @@ struct msdc_host {
 
        int                         error;
        spinlock_t                  lock;           /* mutex */
-       struct semaphore            sem;
 
        u32                         blksz;          /* host block size */
        void __iomem                *base;           /* host base address */
index 049b312131a95d4eacaff0378908a55efe59a8f8..9074848a8251271486af800c879e05e84ba10abb 100644 (file)
@@ -100,7 +100,6 @@ static int cd_active_low = 1;
 struct msdc_hw msdc0_hw = {
        .clk_src        = 0,
        .flags          = MSDC_CD_PIN_EN | MSDC_REMOVABLE,
-//     .flags          = MSDC_WP_PIN_EN | MSDC_CD_PIN_EN | MSDC_REMOVABLE,
 };
 
 /* end of +++ */
@@ -1669,7 +1668,6 @@ static int msdc_drv_probe(struct platform_device *pdev)
        host->timeout_clks = DEFAULT_DTOC * 65536;
 
        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));