mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-11-01 06:46:22 +00:00
skbedit: fix set-never-used warning
This commit is contained in:
parent
18445b3e92
commit
02ee3dbc78
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user