summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/videodev.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/videodev.c')
-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 */