summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-10-08 14:36:21 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2007-10-08 14:36:21 -0700
commit635bede9405ca23e439decf2c1e5350a3cfeb86a (patch)
treeafb15c36f304b3d94c033d436ef1eecb03dc5936 /linux/drivers/media/video
parent539b004934f6a678225fdcdd83629d2a79ad326f (diff)
downloadmediapointer-dvb-s2-635bede9405ca23e439decf2c1e5350a3cfeb86a.tar.gz
mediapointer-dvb-s2-635bede9405ca23e439decf2c1e5350a3cfeb86a.tar.bz2
compat: Remove unneeded #if
From: Trent Piepho <xyzzy@speakeasy.org> Both true and false branch of the #if had the exact same code, just line wrapped differently. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/videodev.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/drivers/media/video/videodev.c b/linux/drivers/media/video/videodev.c
index f1ef7431f..0fd807e07 100644
--- a/linux/drivers/media/video/videodev.c
+++ b/linux/drivers/media/video/videodev.c
@@ -100,12 +100,8 @@ static void video_release(struct class_device *cd)
static void video_release(struct device *cd)
#endif
{
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13)
struct video_device *vfd = container_of(cd, struct video_device,
class_dev);
-#else
- struct video_device *vfd = container_of(cd, struct video_device, class_dev);
-#endif
#if 1 /* keep */
/* needed until all drivers are fixed */