Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1313990 > unrolled thread

[PATCH] mmc: dw_mmc: remove struct block_settings

Started byShawn Lin <shawn.lin@rock-chips.com>
First post2016-01-21 09:20 +0100
Last post2016-01-22 02:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] mmc: dw_mmc: remove struct block_settings Shawn Lin <shawn.lin@rock-chips.com> - 2016-01-21 09:20 +0100
    Re: [PATCH] mmc: dw_mmc: remove struct block_settings Jaehoon Chung <jh80.chung@samsung.com> - 2016-01-22 02:30 +0100

#1313990 — [PATCH] mmc: dw_mmc: remove struct block_settings

FromShawn Lin <shawn.lin@rock-chips.com>
Date2016-01-21 09:20 +0100
Subject[PATCH] mmc: dw_mmc: remove struct block_settings
Message-ID<qTiDg-2B3-5@gated-at.bofh.it>
This patch remove struct block_settings since
it never be used anywhere.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 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;
-- 
2.3.7

[toc] | [next] | [standalone]


#1314683

FromJaehoon Chung <jh80.chung@samsung.com>
Date2016-01-22 02:30 +0100
Message-ID<qTyI1-59r-1@gated-at.bofh.it>
In reply to#1313990
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@rock-chips.com>
> ---
> 
>  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;
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web