diff options
| author | Arvind Yadav <[email protected]> | 2017-07-16 09:32:29 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-07-16 23:38:02 +0000 |
| commit | 10244bc2ae7d8543190f4c651cdfaf030c50a802 (patch) | |
| tree | d66a5d4cf394411f6da3d1eb953eb8ee8f78f250 /net/unix/af_unix.c | |
| parent | ip6: fix PMTU discovery when using /127 subnets (diff) | |
| download | kernel-10244bc2ae7d8543190f4c651cdfaf030c50a802.tar.gz kernel-10244bc2ae7d8543190f4c651cdfaf030c50a802.zip | |
atm: iphase: constify pci_device_id.
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by <linux/pci.h> work with
const pci_device_id. So mark the non-const structs as const.
File size before:
text data bss dec hex filename
23536 432 160 24128 5e40 drivers/atm/iphase.o
File size After adding 'const':
text data bss dec hex filename
23632 336 160 24128 5e40 drivers/atm/iphase.o
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
