summaryrefslogtreecommitdiff
path: root/drivers/media/pci/meye/meye.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-06 19:52:24 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 13:28:40 -0200
commit29a8d9792514557e26a9b05deaf671f2d83fa8ec (patch)
treefbdbb0fb4487cbe5b648555f6c2db076d3313315 /drivers/media/pci/meye/meye.c
parent4a3229834d5f41e5ad9fc60b444c5924853ee6bc (diff)
[media] squash lines for simple wrapper functions
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/meye/meye.c')
-rw-r--r--drivers/media/pci/meye/meye.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/pci/meye/meye.c b/drivers/media/pci/meye/meye.c
index 11d81389ab1e..e825bc93ea7a 100644
--- a/drivers/media/pci/meye/meye.c
+++ b/drivers/media/pci/meye/meye.c
@@ -586,10 +586,7 @@ static void mchip_hic_stop(void)
/* get the next ready frame from the dma engine */
static u32 mchip_get_frame(void)
{
- u32 v;
-
- v = mchip_read(MCHIP_MM_FIR(meye.mchip_fnum));
- return v;
+ return mchip_read(MCHIP_MM_FIR(meye.mchip_fnum));
}
/* frees the current frame from the dma engine */