diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-06 18:52:24 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-16 10:28:40 -0500 |
commit | 29a8d9792514557e26a9b05deaf671f2d83fa8ec (patch) | |
tree | fbdbb0fb4487cbe5b648555f6c2db076d3313315 /drivers/media/pci/meye | |
parent | 4a3229834d5f41e5ad9fc60b444c5924853ee6bc (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')
-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) | |||
586 | /* get the next ready frame from the dma engine */ | 586 | /* get the next ready frame from the dma engine */ |
587 | static u32 mchip_get_frame(void) | 587 | static u32 mchip_get_frame(void) |
588 | { | 588 | { |
589 | u32 v; | 589 | return mchip_read(MCHIP_MM_FIR(meye.mchip_fnum)); |
590 | |||
591 | v = mchip_read(MCHIP_MM_FIR(meye.mchip_fnum)); | ||
592 | return v; | ||
593 | } | 590 | } |
594 | 591 | ||
595 | /* frees the current frame from the dma engine */ | 592 | /* frees the current frame from the dma engine */ |