8000 drop the last '#ifdef MODULE' · v4l2loopback/v4l2loopback@91aa3df · GitHub
[go: up one dir, main page]

Skip to content

Commit 91aa3df

Browse files
committed
drop the last '#ifdef MODULE'
we are using module_exit() so what's the point?
1 parent e83fc6c commit 91aa3df

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

v4l2loopback.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2862,7 +2862,6 @@ static int __init v4l2loopback_init_module(void)
28622862
return err;
28632863
}
28642864

2865-
#ifdef MODULE
28662865
static void v4l2loopback_cleanup_module(void)
28672866
{
28682867
MARK();
@@ -2872,7 +2871,6 @@ static void v4l2loopback_cleanup_module(void)
28722871
misc_deregister(&v4l2loopback_misc);
28732872
dprintk("module removed\n");
28742873
}
2875-
#endif
28762874

28772875
MODULE_ALIAS_MISCDEV(MISC_DYNAMIC_MINOR);
28782876

0 commit comments

Comments
 (0)
0