Commit e482449c authored by Petr Vandrovec's avatar Petr Vandrovec Committed by Linus Torvalds

[PATCH] undeclared variable in netlink device emulation

For some strange reason I still have netlink device emulation enabled
in the kernel at home. This revealed one more missing 'int i' in Al's
devfs cleanup.
parent 06efbebc
......@@ -225,6 +225,8 @@ int init_module(void)
void cleanup_module(void)
{
int i;
for (i = 0; i < sizeof(entries)/sizeof(entries[0]); i++)
devfs_remove("netlink/%s", entries[i].name);
for (i = 0; i < 16; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment