From 635bede9405ca23e439decf2c1e5350a3cfeb86a Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Mon, 8 Oct 2007 14:36:21 -0700 Subject: compat: Remove unneeded #if From: Trent Piepho Both true and false branch of the #if had the exact same code, just line wrapped differently. Signed-off-by: Trent Piepho --- linux/drivers/media/video/videodev.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'linux') 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 */ -- cgit v1.2.3