diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2017-08-01 12:25:01 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-02 14:25:57 +0200 |
commit | 2a04aabf5c96c9e25df488949b21223bcc623815 (patch) | |
tree | 79e4c908818fac3f97e2ea6b83dfef64e62fa55a /lib/crc-ccitt.c | |
parent | netfilter: xtables: Remove unused variable in compat_copy_entry_from_user() (diff) | |
download | linux-dev-2a04aabf5c96c9e25df488949b21223bcc623815.tar.xz linux-dev-2a04aabf5c96c9e25df488949b21223bcc623815.zip |
netfilter: constify nf_conntrack_l3/4proto parameters
When a nf_conntrack_l3/4proto parameter is not on the left hand side
of an assignment, its address is not taken, and it is not passed to a
function that may modify its fields, then it can be declared as const.
This change is useful from a documentation point of view, and can
possibly facilitate making some nf_conntrack_l3/4proto structures const
subsequently.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'lib/crc-ccitt.c')
0 files changed, 0 insertions, 0 deletions