[bsp] Mini optimized the fh_mmc.c
Deleted the un-reach code line 'break;'
This commit is contained in:
parent
339ebf3c16
commit
a6c04dbf18
|
@ -194,7 +194,6 @@ int MMC_SetCardWidth(struct fh_mmc_obj *mmc_obj, int width)
|
||||||
default:
|
default:
|
||||||
rt_kprintf("ERROR: %s, card width %d is not supported\n", __func__, width);
|
rt_kprintf("ERROR: %s, card width %d is not supported\n", __func__, width);
|
||||||
return -RT_ERROR;
|
return -RT_ERROR;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue