Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321984
b: refs/heads/master
c: f4f8720
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Aug 14, 2012
1 parent a97139e commit 7167968
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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: 6024935f5ff5f1646bce8404416318e5fd4a0c4a
refs/heads/master: f4f8720febf0d785a054fc09bde5e3ad09728a58
5 changes: 3 additions & 2 deletions trunk/net/llc/af_llc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ static int __init llc2_init(void)
rc = llc_proc_init();
if (rc != 0) {
printk(llc_proc_err_msg);
goto out_unregister_llc_proto;
goto out_station;
}
rc = llc_sysctl_init();
if (rc) {
Expand All @@ -1226,7 +1226,8 @@ static int __init llc2_init(void)
llc_sysctl_exit();
out_proc:
llc_proc_exit();
out_unregister_llc_proto:
out_station:
llc_station_exit();
proto_unregister(&llc_proto);
goto out;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/llc/llc_station.c
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ void __init llc_station_init(void)
llc_main_station.state = LLC_STATION_STATE_UP;
}

void __exit llc_station_exit(void)
void llc_station_exit(void)
{
llc_set_station_handler(NULL);
}

0 comments on commit 7167968

Please sign in to comment.