Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203760
b: refs/heads/master
c: 652c671
h: refs/heads/master
v: v3
  • Loading branch information
Changli Gao authored and David S. Miller committed Jul 27, 2010
1 parent 003284c commit d34c059
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a256be70c57d6f8c827d09d645a1f6fe9330af72
refs/heads/master: 652c6717465dbd0091dbe04ed9be2f7e59c03c7d
6 changes: 1 addition & 5 deletions trunk/net/netlink/genetlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -877,11 +877,7 @@ static int __init genl_init(void)
for (i = 0; i < GENL_FAM_TAB_SIZE; i++)
INIT_LIST_HEAD(&family_ht[i]);

err = genl_register_family(&genl_ctrl);
if (err < 0)
goto problem;

err = genl_register_ops(&genl_ctrl, &genl_ctrl_ops);
err = genl_register_family_with_ops(&genl_ctrl, &genl_ctrl_ops, 1);
if (err < 0)
goto problem;

Expand Down

0 comments on commit d34c059

Please sign in to comment.