|
@@ -1417,7 +1417,6 @@ static int ms_read_status_reg(struct rtsx_chip *chip)
|
|
|
return STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
static int ms_read_extra_data(struct rtsx_chip *chip,
|
|
|
u16 block_addr, u8 page_num, u8 *buf, int buf_len)
|
|
|
{
|
|
@@ -1582,7 +1581,6 @@ static int ms_write_extra_data(struct rtsx_chip *chip,
|
|
|
return STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
static int ms_read_page(struct rtsx_chip *chip, u16 block_addr, u8 page_num)
|
|
|
{
|
|
|
struct ms_info *ms_card = &chip->ms_card;
|
|
@@ -1667,7 +1665,6 @@ static int ms_read_page(struct rtsx_chip *chip, u16 block_addr, u8 page_num)
|
|
|
return STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
static int ms_set_bad_block(struct rtsx_chip *chip, u16 phy_blk)
|
|
|
{
|
|
|
struct ms_info *ms_card = &chip->ms_card;
|
|
@@ -1738,7 +1735,6 @@ static int ms_set_bad_block(struct rtsx_chip *chip, u16 phy_blk)
|
|
|
return STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
static int ms_erase_block(struct rtsx_chip *chip, u16 phy_blk)
|
|
|
{
|
|
|
struct ms_info *ms_card = &chip->ms_card;
|
|
@@ -1808,7 +1804,6 @@ ERASE_RTY:
|
|
|
return STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
static void ms_set_page_status(u16 log_blk, u8 type, u8 *extra, int extra_len)
|
|
|
{
|
|
|
if (!extra || (extra_len < MS_EXTRA_SIZE))
|
|
@@ -2152,7 +2147,6 @@ static int ms_copy_page(struct rtsx_chip *chip, u16 old_blk, u16 new_blk,
|
|
|
return STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
static int reset_ms(struct rtsx_chip *chip)
|
|
|
{
|
|
|
struct ms_info *ms_card = &chip->ms_card;
|
|
@@ -2809,7 +2803,6 @@ BUILD_FAIL:
|
|
|
return STATUS_FAIL;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
int reset_ms_card(struct rtsx_chip *chip)
|
|
|
{
|
|
|
struct ms_info *ms_card = &chip->ms_card;
|
|
@@ -2896,7 +2889,6 @@ static int mspro_set_rw_cmd(struct rtsx_chip *chip,
|
|
|
return STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
void mspro_stop_seq_mode(struct rtsx_chip *chip)
|
|
|
{
|
|
|
struct ms_info *ms_card = &chip->ms_card;
|
|
@@ -3312,7 +3304,6 @@ int mspro_format(struct scsi_cmnd *srb, struct rtsx_chip *chip,
|
|
|
return STATUS_FAIL;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
static int ms_read_multiple_pages(struct rtsx_chip *chip, u16 phy_blk,
|
|
|
u16 log_blk, u8 start_page, u8 end_page,
|
|
|
u8 *buf, unsigned int *index,
|
|
@@ -3719,7 +3710,6 @@ static int ms_write_multiple_pages(struct rtsx_chip *chip, u16 old_blk,
|
|
|
return STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
static int ms_finish_write(struct rtsx_chip *chip, u16 old_blk, u16 new_blk,
|
|
|
u16 log_blk, u8 page_off)
|
|
|
{
|
|
@@ -4082,7 +4072,6 @@ int ms_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip,
|
|
|
return retval;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
void ms_free_l2p_tbl(struct rtsx_chip *chip)
|
|
|
{
|
|
|
struct ms_info *ms_card = &chip->ms_card;
|