Loading drivers/mmc/host/dw_mmc.c +13 −21 Original line number Diff line number Diff line Loading @@ -2436,13 +2436,6 @@ static int dw_mci_init_slot(struct dw_mci *host, unsigned int id) if (ret) goto err_host_allocated; if (host->pdata->blk_settings) { mmc->max_segs = host->pdata->blk_settings->max_segs; mmc->max_blk_size = host->pdata->blk_settings->max_blk_size; mmc->max_blk_count = host->pdata->blk_settings->max_blk_count; mmc->max_req_size = host->pdata->blk_settings->max_req_size; mmc->max_seg_size = host->pdata->blk_settings->max_seg_size; } else { /* Useful defaults if platform data is unset. */ if (host->use_dma) { mmc->max_segs = host->ring_size; Loading @@ -2458,7 +2451,6 @@ static int dw_mci_init_slot(struct dw_mci *host, unsigned int id) mmc->max_blk_count; mmc->max_seg_size = mmc->max_req_size; } } if (dw_mci_get_cd(mmc)) set_bit(DW_MMC_CARD_PRESENT, &slot->flags); Loading include/linux/mmc/dw_mmc.h +0 −1 Original line number Diff line number Diff line Loading @@ -255,7 +255,6 @@ struct dw_mci_board { struct dw_mci_dma_ops *dma_ops; struct dma_pdata *data; struct block_settings *blk_settings; }; #endif /* LINUX_MMC_DW_MMC_H */ Loading
drivers/mmc/host/dw_mmc.c +13 −21 Original line number Diff line number Diff line Loading @@ -2436,13 +2436,6 @@ static int dw_mci_init_slot(struct dw_mci *host, unsigned int id) if (ret) goto err_host_allocated; if (host->pdata->blk_settings) { mmc->max_segs = host->pdata->blk_settings->max_segs; mmc->max_blk_size = host->pdata->blk_settings->max_blk_size; mmc->max_blk_count = host->pdata->blk_settings->max_blk_count; mmc->max_req_size = host->pdata->blk_settings->max_req_size; mmc->max_seg_size = host->pdata->blk_settings->max_seg_size; } else { /* Useful defaults if platform data is unset. */ if (host->use_dma) { mmc->max_segs = host->ring_size; Loading @@ -2458,7 +2451,6 @@ static int dw_mci_init_slot(struct dw_mci *host, unsigned int id) mmc->max_blk_count; mmc->max_seg_size = mmc->max_req_size; } } if (dw_mci_get_cd(mmc)) set_bit(DW_MMC_CARD_PRESENT, &slot->flags); Loading
include/linux/mmc/dw_mmc.h +0 −1 Original line number Diff line number Diff line Loading @@ -255,7 +255,6 @@ struct dw_mci_board { struct dw_mci_dma_ops *dma_ops; struct dma_pdata *data; struct block_settings *blk_settings; }; #endif /* LINUX_MMC_DW_MMC_H */