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


Groups > linux.kernel > #1313990

[PATCH] mmc: dw_mmc: remove struct block_settings

From Shawn Lin <shawn.lin@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH] mmc: dw_mmc: remove struct block_settings
Date 2016-01-21 09:20 +0100
Message-ID <qTiDg-2B3-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[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

csiph-web