diff options
| author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-19 19:00:23 +0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-21 14:52:57 +0400 |
| commit | e584f9d61ea0aefa81ddd3faf53100536ba4057e (patch) | |
| tree | e3fc553dfa9fa583d26c7d799f0f2f8b9f63849c /include | |
| parent | 9711a8a600a12d2895c18f31be1fc5b3c4d9b209 (diff) | |
| download | linux-e584f9d61ea0aefa81ddd3faf53100536ba4057e.tar.xz | |
[media] siano: remove the bogus firmware lookup code
There is an special lookup code that is called when
SMS_BOARD_UNKNOWN. The logic there is bogus and will cause
an oops, as .type is SMS_UNKNOWN_TYPE (-1).
As the code would do:
return smscore_fw_lkup[type][mode];
That would mean that it would try to go past the
smscore_fw_lkup table.
So, just remove that bogus code, simplifying the logic.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
