flash_storage: remove useless parentheses

This commit is contained in:
Yann Sionneau 2015-05-29 11:11:29 +02:00
parent 575dfade38
commit ed95038681

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);
}
}