Browse Source

Merge pull request #1562 from TanekLiang/mmcsd_fix_warning

[DeviceDrivers] remove unused-assign code
Bernard Xiong 7 years ago
parent
commit
fb36988e86
1 changed files with 0 additions and 1 deletions
  1. 0 1
      components/drivers/include/drivers/mmcsd_core.h

+ 0 - 1
components/drivers/include/drivers/mmcsd_core.h

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