Commit 02ee3dbc authored by Stephen Hemminger's avatar Stephen Hemminger

skbedit: fix set-never-used warning

parent 18445b3e
......@@ -160,7 +160,6 @@ parse_skbedit(struct action_util *a, int *argc_p, char ***argv_p, int tca_id,
static int print_skbedit(struct action_util *au, FILE *f, struct rtattr *arg)
{
struct tc_skbedit *sel;
struct rtattr *tb[TCA_SKBEDIT_MAX + 1];
SPRINT_BUF(b1);
__u32 *priority;
......@@ -177,8 +176,6 @@ static int print_skbedit(struct action_util *au, FILE *f, struct rtattr *arg)
return -1;
}
sel = RTA_DATA(tb[TCA_SKBEDIT_PARMS]);
fprintf(f, " skbedit");
if (tb[TCA_SKBEDIT_QUEUE_MAPPING] != 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