diff options
| author | Rikard Falkeborn <[email protected]> | 2020-10-04 23:44:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-10-05 04:13:36 +0000 |
| commit | 674d3ab94977684392200cdb193968341d452aae (patch) | |
| tree | 7f5708544d85653ea6e16be51ec9326a81ad9998 /drivers/net/dsa/dsa_loop.c | |
| parent | drivers/net/wan/hdlc_fr: Improvements to the code of pvc_xmit (diff) | |
| download | kernel-674d3ab94977684392200cdb193968341d452aae.tar.gz kernel-674d3ab94977684392200cdb193968341d452aae.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
