aboutsummaryrefslogtreecommitdiffstats
path: root/tc/tc_qdisc.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemming@brocade.com>2014-12-20 15:47:17 -0800
committerStephen Hemminger <shemming@brocade.com>2014-12-20 15:47:17 -0800
commit3d0b7439dfac96d93386295a4c961b89bd3d8463 (patch)
tree82991e66c97b66a358f1fe5717a40c06e6c3bafc /tc/tc_qdisc.c
parentb9ea445d529d42fd328fd3343c51403a3672d55f (diff)
downloadplatform_external_iproute2-3d0b7439dfac96d93386295a4c961b89bd3d8463.tar.gz
platform_external_iproute2-3d0b7439dfac96d93386295a4c961b89bd3d8463.tar.bz2
platform_external_iproute2-3d0b7439dfac96d93386295a4c961b89bd3d8463.zip
whitespace cleanup
Remove all trailing whitespace and space before tabs.
Diffstat (limited to 'tc/tc_qdisc.c')
-rw-r--r--tc/tc_qdisc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tc/tc_qdisc.c b/tc/tc_qdisc.c
index e3048580..c71937d0 100644
--- a/tc/tc_qdisc.c
+++ b/tc/tc_qdisc.c
@@ -178,7 +178,7 @@ static int tc_qdisc_modify(int cmd, unsigned flags, int argc, char **argv)
if (d[0]) {
int idx;
- ll_init_map(&rth);
+ ll_init_map(&rth);
if ((idx = ll_name_to_index(d)) == 0) {
fprintf(stderr, "Cannot find device \"%s\"\n", d);
@@ -309,7 +309,7 @@ static int tc_qdisc_list(int argc, char **argv)
argc--; argv++;
}
- ll_init_map(&rth);
+ ll_init_map(&rth);
if (d[0]) {
if ((t.tcm_ifindex = ll_name_to_index(d)) == 0) {
@@ -319,12 +319,12 @@ static int tc_qdisc_list(int argc, char **argv)
filter_ifindex = t.tcm_ifindex;
}
- if (rtnl_dump_request(&rth, RTM_GETQDISC, &t, sizeof(t)) < 0) {
+ if (rtnl_dump_request(&rth, RTM_GETQDISC, &t, sizeof(t)) < 0) {
perror("Cannot send dump request");
return 1;
}
- if (rtnl_dump_filter(&rth, print_qdisc, stdout) < 0) {
+ if (rtnl_dump_filter(&rth, print_qdisc, stdout) < 0) {
fprintf(stderr, "Dump terminated\n");
return 1;
}