diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2017-11-03 22:01:57 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-18 15:10:33 -0500 |
commit | a465321ac1bd90ffe2de030e29ef5738af046603 (patch) | |
tree | 91a85f2f38a0d69fb695cec624c95ceaed126b0e /kernel/dma.c | |
parent | bc7eb5d7e2d70e027f5846f71b70d6c99b8f176f (diff) | |
download | linux-a465321ac1bd90ffe2de030e29ef5738af046603.tar.bz2 |
media: s5p-mfc: Remove firmware buf null check in s5p_mfc_load_firmware()
s5p_mfc_load_firmware() will not get called if fw_buf.virt allocation
fails. The allocation happens very early on in the probe routine and
probe fails if allocation fails.
There is no need to check if it is null in s5p_mfc_load_firmware().
Remove the check.
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions