linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mmc: dw_mmc: remove struct block_settings
@ 2016-01-21  8:06 Shawn Lin
  2016-01-22  1:26 ` Jaehoon Chung
  0 siblings, 1 reply; 2+ messages in thread
From: Shawn Lin @ 2016-01-21  8:06 UTC (permalink / raw)
  To: Jaehoon Chung, Ulf Hansson; +Cc: linux-mmc, linux-kernel, Shawn Lin

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mmc: dw_mmc: remove struct block_settings
  2016-01-21  8:06 [PATCH] mmc: dw_mmc: remove struct block_settings Shawn Lin
@ 2016-01-22  1:26 ` Jaehoon Chung
  0 siblings, 0 replies; 2+ messages in thread
From: Jaehoon Chung @ 2016-01-22  1:26 UTC (permalink / raw)
  To: Shawn Lin, Ulf Hansson; +Cc: linux-mmc, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-22  1:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-21  8:06 [PATCH] mmc: dw_mmc: remove struct block_settings Shawn Lin
2016-01-22  1:26 ` Jaehoon Chung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).