diff options
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index ef6af1cb7d39..feb03ad0d803 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -3375,7 +3375,7 @@ static const struct file_operations bond_info_fops = { | |||
3375 | .release = seq_release, | 3375 | .release = seq_release, |
3376 | }; | 3376 | }; |
3377 | 3377 | ||
3378 | static int bond_create_proc_entry(struct bonding *bond) | 3378 | static void bond_create_proc_entry(struct bonding *bond) |
3379 | { | 3379 | { |
3380 | struct net_device *bond_dev = bond->dev; | 3380 | struct net_device *bond_dev = bond->dev; |
3381 | 3381 | ||
@@ -3390,8 +3390,6 @@ static int bond_create_proc_entry(struct bonding *bond) | |||
3390 | else | 3390 | else |
3391 | memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ); | 3391 | memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ); |
3392 | } | 3392 | } |
3393 | |||
3394 | return 0; | ||
3395 | } | 3393 | } |
3396 | 3394 | ||
3397 | static void bond_remove_proc_entry(struct bonding *bond) | 3395 | static void bond_remove_proc_entry(struct bonding *bond) |
@@ -3430,7 +3428,7 @@ static void bond_destroy_proc_dir(void) | |||
3430 | 3428 | ||
3431 | #else /* !CONFIG_PROC_FS */ | 3429 | #else /* !CONFIG_PROC_FS */ |
3432 | 3430 | ||
3433 | static int bond_create_proc_entry(struct bonding *bond) | 3431 | static void bond_create_proc_entry(struct bonding *bond) |
3434 | { | 3432 | { |
3435 | } | 3433 | } |
3436 | 3434 | ||