diff options
Diffstat (limited to 'net/core/pktgen.c')
-rw-r--r-- | net/core/pktgen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 32d419f5ac98..3779c1438c11 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c | |||
@@ -3806,7 +3806,6 @@ static int __init pg_init(void) | |||
3806 | pg_proc_dir = proc_mkdir(PG_PROC_DIR, init_net.proc_net); | 3806 | pg_proc_dir = proc_mkdir(PG_PROC_DIR, init_net.proc_net); |
3807 | if (!pg_proc_dir) | 3807 | if (!pg_proc_dir) |
3808 | return -ENODEV; | 3808 | return -ENODEV; |
3809 | pg_proc_dir->owner = THIS_MODULE; | ||
3810 | 3809 | ||
3811 | pe = proc_create(PGCTRL, 0600, pg_proc_dir, &pktgen_fops); | 3810 | pe = proc_create(PGCTRL, 0600, pg_proc_dir, &pktgen_fops); |
3812 | if (pe == NULL) { | 3811 | if (pe == NULL) { |