Skip to content

Commit 6f13dcc

Browse files
committed
Remove unused fields from pernet_operations
Kernel now asserts size is non-zero if id is set.
1 parent 33bc44c commit 6f13dcc

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

LINUX/ipt_netmap/ipt_netmap.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,8 +1046,6 @@ static struct pernet_operations ipt_netmap_net_ops = {
10461046
#else
10471047
.pre_exit = ipt_netmap_net_exit,
10481048
#endif
1049-
.id = &ipt_netmap_net_id,
1050-
.size = 0,
10511049
};
10521050

10531051
static int __init nmring_tg_init(void)

0 commit comments

Comments
 (0)