mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 03:00:37 +01:00
device/trivial: add space between macro name and arguments and vertically align lines
Also calling macros we commonly put a space between the macro name and the parenthesis. Also align the parameters. Otherwise it's hard to read for me.
This commit is contained in:
parent
04bd404dff
commit
9399297a82
1 changed files with 8 additions and 8 deletions
|
|
@ -6537,14 +6537,14 @@ tc_commit (NMDevice *self)
|
|||
} G_STMT_END
|
||||
|
||||
if (strcmp (qdisc->kind, "fq_codel") == 0) {
|
||||
GET_ATTR("limit", qdisc->fq_codel.limit, UINT32, uint32, 0);
|
||||
GET_ATTR("flows", qdisc->fq_codel.flows, UINT32, uint32, 0);
|
||||
GET_ATTR("target", qdisc->fq_codel.target, UINT32, uint32, 0);
|
||||
GET_ATTR("interval", qdisc->fq_codel.interval, UINT32, uint32, 0);
|
||||
GET_ATTR("quantum", qdisc->fq_codel.quantum, UINT32, uint32, 0);
|
||||
GET_ATTR("ce_threshold", qdisc->fq_codel.ce_threshold, UINT32, uint32, NM_PLATFORM_FQ_CODEL_CE_THRESHOLD_DISABLED);
|
||||
GET_ATTR("memory_limit", qdisc->fq_codel.memory_limit, UINT32, uint32, NM_PLATFORM_FQ_CODEL_MEMORY_LIMIT_UNSET);
|
||||
GET_ATTR("ecn", qdisc->fq_codel.ecn, BOOLEAN, boolean, FALSE);
|
||||
GET_ATTR ("limit", qdisc->fq_codel.limit, UINT32, uint32, 0);
|
||||
GET_ATTR ("flows", qdisc->fq_codel.flows, UINT32, uint32, 0);
|
||||
GET_ATTR ("target", qdisc->fq_codel.target, UINT32, uint32, 0);
|
||||
GET_ATTR ("interval", qdisc->fq_codel.interval, UINT32, uint32, 0);
|
||||
GET_ATTR ("quantum", qdisc->fq_codel.quantum, UINT32, uint32, 0);
|
||||
GET_ATTR ("ce_threshold", qdisc->fq_codel.ce_threshold, UINT32, uint32, NM_PLATFORM_FQ_CODEL_CE_THRESHOLD_DISABLED);
|
||||
GET_ATTR ("memory_limit", qdisc->fq_codel.memory_limit, UINT32, uint32, NM_PLATFORM_FQ_CODEL_MEMORY_LIMIT_UNSET);
|
||||
GET_ATTR ("ecn", qdisc->fq_codel.ecn, BOOLEAN, boolean, FALSE);
|
||||
}
|
||||
|
||||
#undef GET_ADDR
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue