Cosmetics
Change-Id: I6ad5b6c2e4f8f57db2068fe372ab4ecadf4d03a9
This commit is contained in:
parent
58f8bddf88
commit
391f3ea2ae
2 changed files with 1 additions and 2 deletions
|
@ -414,7 +414,6 @@ int sd_init(void)
|
|||
|
||||
static int transfer_sectors(IF_MD2(int drive,) unsigned long start, int count, void *buf, bool read)
|
||||
{
|
||||
IF_MD((void) drive);
|
||||
int ret = 0;
|
||||
uint32_t resp;
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ void *memdup(const void *p, size_t len)
|
|||
|
||||
void generate_random_data(void *buf, size_t sz)
|
||||
{
|
||||
int i = 0;
|
||||
size_t i = 0;
|
||||
unsigned char* p = (unsigned char*)buf;
|
||||
while(i++ < sz)
|
||||
*p++ = rand();
|
||||
|
|
Loading…
Reference in a new issue