lkml.org 
[lkml]   [2002]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] 2.5.24+ fix needed for non-modular video build
Date
> On Mon, Jul 22, 2002 at 01:45:14PM -0700, Christopher Hoover wrote:
>
> > -#ifdef MODULE
> > -#if defined(CONFIG_PROC_FS) && defined(CONFIG_VIDEO_PROC_FS)
> > static void videodev_proc_destroy(void)
> > {
> > if (video_dev_proc_entry != NULL)
> > @@ -298,8 +296,6 @@
> > if (video_proc_entry != NULL)
> > remove_proc_entry("video", &proc_root);
> > }
> > -#endif
> > -#endif
>
> Why are you removing the inner ifdef too ? This looks like it
> makes sense (to me at least)

It makes sense but it is redundant -- there is a wider-scoped ifdef in
the file that catches that function and others.

-ch

mailto:ch@murgatroid.com
mailto:ch@hpl.hp.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.069 / U:7.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site