diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-10-05 02:44:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-05 07:13:36 +0300 |
commit | 674d3ab94977684392200cdb193968341d452aae (patch) | |
tree | 7f5708544d85653ea6e16be51ec9326a81ad9998 /net/openvswitch/meter.c | |
parent | f5083d0cee08a4b87d5d7a5c57f60ec128bff997 (diff) | |
download | linux-674d3ab94977684392200cdb193968341d452aae.tar.xz |
mptcp: Constify mptcp_pm_ops
The only usages of mptcp_pm_ops is to assign its address to the small_ops
field of the genl_family struct, which is a const pointer, and applying
ARRAY_SIZE() on it. Make it const to allow the compiler to put it in
read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/meter.c')
0 files changed, 0 insertions, 0 deletions