diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-06 19:52:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-16 13:28:40 -0200 |
commit | 29a8d9792514557e26a9b05deaf671f2d83fa8ec (patch) | |
tree | fbdbb0fb4487cbe5b648555f6c2db076d3313315 /drivers/media/pci/meye/meye.c | |
parent | 4a3229834d5f41e5ad9fc60b444c5924853ee6bc (diff) | |
download | lwn-29a8d9792514557e26a9b05deaf671f2d83fa8ec.tar.gz lwn-29a8d9792514557e26a9b05deaf671f2d83fa8ec.zip |
[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.c | 5 |
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 */ |