diff options
| author | hathach <[email protected]> | 2018-06-12 23:08:03 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-06-12 23:08:03 +0700 |
| commit | d6cb34ff22cd8b50d23f3c9730aa15d080c1e19d (patch) | |
| tree | 44836ae81142b4d81210d6570c51e15be161c61c /tinyusb/class | |
| parent | fa2e04312615fc985de9e23c18cf52896ad191f5 (diff) | |
clean up
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/msc/msc_device.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tinyusb/class/msc/msc_device.c b/tinyusb/class/msc/msc_device.c index 5e0dcc5d2..99b5652bb 100644 --- a/tinyusb/class/msc/msc_device.c +++ b/tinyusb/class/msc/msc_device.c @@ -372,7 +372,6 @@ static void proc_read10_cmd(uint8_t rhport, mscd_interface_t* p_msc) msc_csw_t * p_csw = &p_msc->csw;
uint32_t lba = rdwr10_get_lba(p_cbw->command);
- uint16_t block_count = rdwr10_get_blockcount(p_cbw->command);
// remaining bytes capped at class buffer
int32_t nbytes = (int32_t) min32_of(sizeof(_mscd_buf), p_cbw->xfer_bytes-p_msc->xferred_len);
@@ -402,10 +401,6 @@ static void proc_read10_cmd(uint8_t rhport, mscd_interface_t* p_msc) static void proc_write10_cmd(uint8_t rhport, mscd_interface_t* p_msc)
{
msc_cbw_t const * p_cbw = &p_msc->cbw;
- msc_csw_t * p_csw = &p_msc->csw;
-
- uint32_t lba = rdwr10_get_lba(p_cbw->command);
- uint16_t block_count = rdwr10_get_blockcount(p_cbw->command);
// remaining bytes capped at class buffer
int32_t nbytes = (int32_t) min32_of(sizeof(_mscd_buf), p_cbw->xfer_bytes-p_msc->xferred_len);
|
