Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: core: Remove unused struct _mmc_csd from public mmc.h header

The struct _mmc_csd isn't being used and has been lurking around for a
while. Let's kill it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>

-44
-44
include/linux/mmc/mmc.h
··· 184 184 #define R2_SPI_OUT_OF_RANGE (1 << 15) /* or CSD overwrite */ 185 185 #define R2_SPI_CSD_OVERWRITE R2_SPI_OUT_OF_RANGE 186 186 187 - /* These are unpacked versions of the actual responses */ 188 - 189 - struct _mmc_csd { 190 - u8 csd_structure; 191 - u8 spec_vers; 192 - u8 taac; 193 - u8 nsac; 194 - u8 tran_speed; 195 - u16 ccc; 196 - u8 read_bl_len; 197 - u8 read_bl_partial; 198 - u8 write_blk_misalign; 199 - u8 read_blk_misalign; 200 - u8 dsr_imp; 201 - u16 c_size; 202 - u8 vdd_r_curr_min; 203 - u8 vdd_r_curr_max; 204 - u8 vdd_w_curr_min; 205 - u8 vdd_w_curr_max; 206 - u8 c_size_mult; 207 - union { 208 - struct { /* MMC system specification version 3.1 */ 209 - u8 erase_grp_size; 210 - u8 erase_grp_mult; 211 - } v31; 212 - struct { /* MMC system specification version 2.2 */ 213 - u8 sector_size; 214 - u8 erase_grp_size; 215 - } v22; 216 - } erase; 217 - u8 wp_grp_size; 218 - u8 wp_grp_enable; 219 - u8 default_ecc; 220 - u8 r2w_factor; 221 - u8 write_bl_len; 222 - u8 write_bl_partial; 223 - u8 file_format_grp; 224 - u8 copy; 225 - u8 perm_write_protect; 226 - u8 tmp_write_protect; 227 - u8 file_format; 228 - u8 ecc; 229 - }; 230 - 231 187 /* 232 188 * OCR bits are mostly in host.h 233 189 */