From 49bc89623d4f7d7c5540083622459122e0ad2312 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 3 Sep 2014 15:11:54 -0300 Subject: [PATCH] [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-format-patch failed