Explorar o código

[DeviceDrivers] remove unused-assign code

liang yongxiang %!s(int64=7) %!d(string=hai) anos
pai
achega
fef854a431
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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;
 	}