[NET] SCHED: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
7612713fb6
commit
10297b9931
@@ -68,7 +68,7 @@ static inline int dsmark_valid_indices(u16 indices)
|
||||
return 0;
|
||||
indices >>= 1;
|
||||
}
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ static int dsmark_graft(struct Qdisc *sch, unsigned long arg,
|
||||
qdisc_reset(*old);
|
||||
sch_tree_unlock(sch);
|
||||
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct Qdisc *dsmark_leaf(struct Qdisc *sch, unsigned long arg)
|
||||
@@ -151,7 +151,7 @@ static int dsmark_change(struct Qdisc *sch, u32 classid, u32 parent,
|
||||
|
||||
if (tb[TCA_DSMARK_VALUE-1])
|
||||
p->value[*arg-1] = RTA_GET_U8(tb[TCA_DSMARK_VALUE-1]);
|
||||
|
||||
|
||||
if (tb[TCA_DSMARK_MASK-1])
|
||||
p->mask[*arg-1] = mask;
|
||||
|
||||
@@ -167,7 +167,7 @@ static int dsmark_delete(struct Qdisc *sch, unsigned long arg)
|
||||
|
||||
if (!dsmark_valid_index(p, arg))
|
||||
return -EINVAL;
|
||||
|
||||
|
||||
p->mask[arg-1] = 0xff;
|
||||
p->value[arg-1] = 0;
|
||||
|
||||
@@ -193,9 +193,9 @@ static void dsmark_walk(struct Qdisc *sch,struct qdisc_walker *walker)
|
||||
break;
|
||||
}
|
||||
}
|
||||
ignore:
|
||||
ignore:
|
||||
walker->count++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static struct tcf_proto **dsmark_find_tcf(struct Qdisc *sch,unsigned long cl)
|
||||
@@ -338,7 +338,7 @@ static unsigned int dsmark_drop(struct Qdisc *sch)
|
||||
{
|
||||
struct dsmark_qdisc_data *p = PRIV(sch);
|
||||
unsigned int len;
|
||||
|
||||
|
||||
DPRINTK("dsmark_reset(sch %p,[qdisc %p])\n", sch, p);
|
||||
|
||||
if (p->q->ops->drop == NULL)
|
||||
@@ -506,7 +506,7 @@ static int __init dsmark_module_init(void)
|
||||
return register_qdisc(&dsmark_qdisc_ops);
|
||||
}
|
||||
|
||||
static void __exit dsmark_module_exit(void)
|
||||
static void __exit dsmark_module_exit(void)
|
||||
{
|
||||
unregister_qdisc(&dsmark_qdisc_ops);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user