mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-10-31 23:37:35 +00:00
macloader: Drop semcove case and enum
The all_ranges structure has one entry less than MAX_TYPES because semcove type is not defined there, but there's no check for NULL and if the mac isn't found it segfaults. Change-Id: Ie218ea0a82b03992085db0f2d1cfc7079e7415a0
This commit is contained in:
parent
72aac79216
commit
a322ea2bdd
2 changed files with 0 additions and 4 deletions
|
@ -24,7 +24,6 @@ enum Type {
|
|||
NONE,
|
||||
MURATA,
|
||||
SEMCOSH,
|
||||
SEMCOVE,
|
||||
SEMCO3RD,
|
||||
SEMCO,
|
||||
WISOL,
|
||||
|
|
|
@ -190,9 +190,6 @@ int main() {
|
|||
case SEMCOSH:
|
||||
type_str = "semcosh";
|
||||
break;
|
||||
case SEMCOVE:
|
||||
type_str = "semcove";
|
||||
break;
|
||||
case SEMCO3RD:
|
||||
type_str = "semco3rd";
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue