flash_storage: remove useless parentheses

This commit is contained in:
Yann Sionneau 2015-05-29 11:11:29 +02:00
parent 575dfade38
commit ed95038681
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ unsigned int fs_read(char *key, void *buffer, unsigned int buf_len, unsigned int
memcpy(buffer, record.value, min(record.value_len, buf_len));
read_length = min(record.value_len, buf_len);
if(remain)
*remain = max(0, (int)(record.value_len) - (int)buf_len);
*remain = max(0, (int)record.value_len - (int)buf_len);
}
}