diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 16:42:05 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-28 07:39:03 -0200 |
commit | 84cc2377ee72cfa5745fcd26919d4b1aa3e0e9e5 (patch) | |
tree | c75ca7393f990058d250fd8a999c1000df7cf771 /drivers | |
parent | 2e7b318fa17a36d8a6d9783c10e845054d8ca27f (diff) | |
download | linux-3.10-84cc2377ee72cfa5745fcd26919d4b1aa3e0e9e5.tar.gz linux-3.10-84cc2377ee72cfa5745fcd26919d4b1aa3e0e9e5.tar.bz2 linux-3.10-84cc2377ee72cfa5745fcd26919d4b1aa3e0e9e5.zip |
[media] soc_camera: ret is never used. get rid of it
drivers/media/platform/soc_camera/soc_camera.c:1051:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/platform/soc_camera/soc_camera.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/platform/soc_camera/soc_camera.c b/drivers/media/platform/soc_camera/soc_camera.c index d3f0b84e2d7..6f76ada1b2d 100644 --- a/drivers/media/platform/soc_camera/soc_camera.c +++ b/drivers/media/platform/soc_camera/soc_camera.c @@ -1048,10 +1048,8 @@ static void scan_add_host(struct soc_camera_host *ici) list_for_each_entry(icd, &devices, list) { if (icd->iface == ici->nr) { - int ret; - icd->parent = ici->v4l2_dev.dev; - ret = soc_camera_probe(icd); + soc_camera_probe(icd); } } |