commit | 49bc89623d4f7d7c5540083622459122e0ad2312 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | Wed Sep 03 15:11:54 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Wed Sep 03 17:59:13 2014 -0300 |
tree | be177f629fd93ce86bf870fcf2b5f3a675772492 | |
parent | c611c908bb389b700501d028644b9feb8faa20f7 [diff] |
[media] stv0900_core: don't allocate a temporary var The error return code STV0900_NO_ERROR happens only once, at the end of the functions. So, just return it directly. This driver should actually be fixed to return standard Linux error codes, instead of its own macros, but this should be done on a separate patchset. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>