diff options
| author | Arvind Yadav <[email protected]> | 2017-07-16 09:32:33 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-07-16 23:38:02 +0000 |
| commit | 5c007845029d1e03df765f8fb2af0a0b8f5126b9 (patch) | |
| tree | 1c340714c0ba6e63dbd8def69e3cea3f9b8c5cbd /net/unix/af_unix.c | |
| parent | atm: nicstar: constify pci_device_id. (diff) | |
| download | kernel-5c007845029d1e03df765f8fb2af0a0b8f5126b9.tar.gz kernel-5c007845029d1e03df765f8fb2af0a0b8f5126b9.zip | |
atm: he: 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
26514 440 48 27002 697a drivers/atm/he.o
File size After adding 'const':
text data bss dec hex filename
26578 376 48 27002 697a drivers/atm/he.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
