| 88 | }; |
| 89 | |
| 90 | int proc_net_init(void) |
| 91 | { |
| 92 | struct proc_dentry *dentry; |
| 93 | |
| 94 | dentry = proc_mkdir("net", NULL); |
| 95 | if (!dentry) |
| 96 | return -1; |
| 97 | |
| 98 | proc_release(dentry); |
| 99 | |
| 100 | dentry = proc_create_data("net/route", 0, NULL, NULL, NULL); |
| 101 | if (dentry) |
| 102 | { |
| 103 | dentry->seq_ops = &seq_ops; |
| 104 | } |
| 105 | proc_release(dentry); |
| 106 | |
| 107 | return 0; |
| 108 | } |
| 109 | INIT_ENV_EXPORT(proc_net_init); |
nothing calls this directly
no test coverage detected