diff options
| author | Julia Lawall <[email protected]> | 2015-10-11 11:48:05 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-10-13 11:18:44 +0000 |
| commit | 571f2c11b343cd6997f35a21f6caa0f78e87fc84 (patch) | |
| tree | 3e6140687860ca0f265be613db7333f5cfbe2312 /net/switchdev/switchdev.c | |
| parent | bridge: vlan: enforce no pvid flag in vlan ranges (diff) | |
| download | kernel-571f2c11b343cd6997f35a21f6caa0f78e87fc84.tar.gz kernel-571f2c11b343cd6997f35a21f6caa0f78e87fc84.zip | |
qlcnic: constify qlcnic_mbx_ops structure
The only instance of a qlcnic_mbx_ops structure is never modified. Thus
the declaration of the structure and all references to the structure type
can be made const.
In the definition of the qlcnic_mailbox structure, the ops field is no
longer lined up with the other fields. This was left as is, to avoid a lot
of trivial changes on the other lines.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall <[email protected]>
Acked-by: Sony Chacko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
