Merge pull request #1562 from TanekLiang/mmcsd_fix_warning

[DeviceDrivers] remove unused-assign code
This commit is contained in:
Bernard Xiong 2018-06-23 19:44:36 +08:00 committed by GitHub
commit fb36988e86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -213,7 +213,6 @@ rt_inline rt_uint32_t __rt_fls(rt_uint32_t val)
} }
if (!(val & 0x80000000u)) if (!(val & 0x80000000u))
{ {
val <<= 1;
bit -= 1; bit -= 1;
} }