V4L/DVB: s2255drv: remove dead code
authorDan Carpenter <error27@gmail.com>
Wed, 5 May 2010 06:00:47 +0000 (03:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:59:14 +0000 (12:59 -0300)
commit8b661b508b3a4c8d9fc7a4b10507d3f1172947c3
tree9fa73a7b8aa13324d4180501ce8b25811b65c238
parentaab9796f5580a988c46c130a727cdc398a05317b
V4L/DVB: s2255drv: remove dead code

My concern initially was we dereference "dev" in the parameter list to
s2255_dev_err() but it turns out that code path is never used.
The s2255_stop_readpipe() is only called from one place and "dev" is
never null.  So this patch just removes the whole condition here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: linux-dev@sensoray.com
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s2255drv.c