summaryrefslogtreecommitdiffhomepage
path: root/networking/tc.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tc.c')
-rw-r--r--networking/tc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/networking/tc.c b/networking/tc.c
index 3115a5254..dbdba3317 100644
--- a/networking/tc.c
+++ b/networking/tc.c
@@ -191,8 +191,8 @@ static int cbq_print_opt(struct rtattr *opt)
struct tc_cbq_wrropt *wrr = NULL;
struct tc_cbq_fopt *fopt = NULL;
struct tc_cbq_ovl *ovl = NULL;
- const char * const error = "CBQ: too short %s opt";
- RESERVE_CONFIG_BUFFER(buf, 64);
+ const char *const error = "CBQ: too short %s opt";
+ char buf[64];
if (opt == NULL)
goto done;
@@ -272,7 +272,6 @@ static int cbq_print_opt(struct rtattr *opt)
}
}
done:
- RELEASE_CONFIG_BUFFER(buf);
return 0;
}