Re: [PATCH] mmc: dw_mmc: remove struct block_settings
From: Jaehoon Chung
Date: Thu Jan 21 2016 - 20:26:34 EST
Hi, Shawn.
Applied this.
Thanks!
Best Regards,
Jaehoon Chung
On 01/21/2016 05:06 PM, Shawn Lin wrote:
> This patch remove struct block_settings since
> it never be used anywhere.
>
> Signed-off-by: Shawn Lin <shawn.lin@xxxxxxxxxxxxxx>
> ---
>
> include/linux/mmc/dw_mmc.h | 8 --------
> 1 file changed, 8 deletions(-)
>
> diff --git a/include/linux/mmc/dw_mmc.h b/include/linux/mmc/dw_mmc.h
> index 89df7ab..e1f90b8 100644
> --- a/include/linux/mmc/dw_mmc.h
> +++ b/include/linux/mmc/dw_mmc.h
> @@ -242,14 +242,6 @@ struct dw_mci_dma_ops {
>
> struct dma_pdata;
>
> -struct block_settings {
> - unsigned short max_segs; /* see blk_queue_max_segments */
> - unsigned int max_blk_size; /* maximum size of one mmc block */
> - unsigned int max_blk_count; /* maximum number of blocks in one req*/
> - unsigned int max_req_size; /* maximum number of bytes in one req*/
> - unsigned int max_seg_size; /* see blk_queue_max_segment_size */
> -};
> -
> /* Board platform data */
> struct dw_mci_board {
> u32 num_slots;
>