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:
parent
1ecb6297a1
commit
8d079a0bcb
1 changed files with 0 additions and 3 deletions
|
@ -636,19 +636,16 @@ bool storage_present(int drive)
|
|||
#if (CONFIG_STORAGE & STORAGE_SD)
|
||||
case STORAGE_SD:
|
||||
return sd_present(ldrive);
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if (CONFIG_STORAGE & STORAGE_NAND)
|
||||
case STORAGE_NAND:
|
||||
return true;
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if (CONFIG_STORAGE & STORAGE_RAMDISK)
|
||||
case STORAGE_RAMDISK:
|
||||
return true;
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue