From: Mauro Carvalho Chehab Date: Wed, 3 Sep 2014 18:11:54 +0000 (-0300) Subject: [media] stv0900_core: don't allocate a temporary var X-Git-Tag: fixes-against-v3.18-rc2~130^2^2~276 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49bc89623d4f7d7c5540083622459122e0ad2312;p=pandora-kernel.git [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 --- Reading git-diff-tree failed