Commit a81aa950 authored by David S. Miller's avatar David S. Miller

[AX25]: Make ax25_rt_destroy return void.

parent b331768e
...@@ -157,7 +157,7 @@ static int ax25_rt_add(struct ax25_routes_struct *route) ...@@ -157,7 +157,7 @@ static int ax25_rt_add(struct ax25_routes_struct *route)
return 0; return 0;
} }
static int ax25_rt_destroy(ax25_route *ax25_rt) static void ax25_rt_destroy(ax25_route *ax25_rt)
{ {
if (atomic_read(&ax25_rt->ref) == 0) { if (atomic_read(&ax25_rt->ref) == 0) {
if (ax25_rt->digipeat != NULL) if (ax25_rt->digipeat != NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment