[media] media: mx2_camera: remove dead code in mx2_camera_add_device
authorShawn Guo <shawn.guo@linaro.org>
Thu, 20 Sep 2012 05:45:38 +0000 (02:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Sep 2012 18:56:01 +0000 (15:56 -0300)
commit4df6e868d475a884d672791c9091150c57094c95
tree8f53e4d7a5ba8fd004b493a3c0ba11f6dc66fcd8
parentf6068764573d2f29529c8835126dabe3f2096c1f
[media] media: mx2_camera: remove dead code in mx2_camera_add_device

This is a piece of code becoming dead since commit 2c9ba37 ([media]
V4L: mx2_camera: remove unsupported i.MX27 DMA mode, make EMMA
mandatory).  It should have been removed together with the commit.
Remove it now.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/mx2_camera.c