No need to break after a return

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26398 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2010-05-29 21:54:23 +00:00
parent 1ecb6297a1
commit 8d079a0bcb

View file

@ -636,19 +636,16 @@ bool storage_present(int drive)
#if (CONFIG_STORAGE & STORAGE_SD) #if (CONFIG_STORAGE & STORAGE_SD)
case STORAGE_SD: case STORAGE_SD:
return sd_present(ldrive); return sd_present(ldrive);
break;
#endif #endif
#if (CONFIG_STORAGE & STORAGE_NAND) #if (CONFIG_STORAGE & STORAGE_NAND)
case STORAGE_NAND: case STORAGE_NAND:
return true; return true;
break;
#endif #endif
#if (CONFIG_STORAGE & STORAGE_RAMDISK) #if (CONFIG_STORAGE & STORAGE_RAMDISK)
case STORAGE_RAMDISK: case STORAGE_RAMDISK:
return true; return true;
break;
#endif #endif
default: default: