arch/tms570: Remove the unused frac variable

and change the type of divb7 from float32_t to float

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-07-04 21:13:11 +08:00 committed by David Sidrane
parent 9761235408
commit 95aa3a11d1

View File

@ -284,9 +284,8 @@ void tms570_lowsetup(void)
int tms570_sci_configure(uint32_t base,
FAR const struct sci_config_s *config)
{
float_t divb7;
float divb7;
uint32_t intpart;
float_t frac;
uint32_t p;
uint32_t m;
uint32_t u;