summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/saa7164
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-02-21 00:49:59 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-04-17 13:07:50 -0300
commit609d0468b4a897bdf6471e9a2173981bcecb6ec6 (patch)
tree490729317ae1db69e5b13ccca600c0a635f197f7 /drivers/media/pci/saa7164
parent393a8e76dc8bef26d8875208eeb7304771cd74f4 (diff)
downloadtalos-op-linux-609d0468b4a897bdf6471e9a2173981bcecb6ec6.tar.gz
talos-op-linux-609d0468b4a897bdf6471e9a2173981bcecb6ec6.zip
[media] media: pci: saa7164: remove dead code
Remove dead code. The following line of code is never reached: return SAA_OK; Addresses-Coverity-ID: 114283 Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Reviewed-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/saa7164')
-rw-r--r--drivers/media/pci/saa7164/saa7164-cmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/pci/saa7164/saa7164-cmd.c b/drivers/media/pci/saa7164/saa7164-cmd.c
index 40e5f909e5b6..175015ca79f2 100644
--- a/drivers/media/pci/saa7164/saa7164-cmd.c
+++ b/drivers/media/pci/saa7164/saa7164-cmd.c
@@ -177,8 +177,6 @@ static int saa7164_cmd_dequeue(struct saa7164_dev *dev)
wake_up(q);
return SAA_OK;
}
-
- return SAA_OK;
}
static int saa7164_cmd_set(struct saa7164_dev *dev, struct tmComResInfo *msg,
OpenPOWER on IntegriCloud