From: Dan Carpenter Date: Wed, 5 May 2010 06:00:47 +0000 (-0300) Subject: V4L/DVB: s2255drv: remove dead code X-Git-Tag: v2.6.35-rc1~480^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b661b508b3a4c8d9fc7a4b10507d3f1172947c3;p=pandora-kernel.git 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 Cc: linux-dev@sensoray.com Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed