summaryrefslogtreecommitdiff
path: root/scripts/extract-vmlinux
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-08-15 08:52:55 +0300
committerMarcel Holtmann <marcel@holtmann.org>2019-09-05 18:27:21 +0300
commit569428dabc3e2523ca2b357e7d86412df1dd1e6a (patch)
tree1b4059f381787495eb7c38a29f72c8c49582676d /scripts/extract-vmlinux
parent9e45524a011107a73bc2cdde8370c61e82e93a4d (diff)
downloadlinux-569428dabc3e2523ca2b357e7d86412df1dd1e6a.tar.xz
Bluetooth: 6lowpan: Make variable header_ops constant
Static variable header_ops, of type header_ops, is used only once, when it is assigned to field header_ops of a variable having type net_device. This corresponding field is declared as const in the definition of net_device. Hence make header_ops constant as well to protect it from unnecessary modification. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'scripts/extract-vmlinux')
0 files changed, 0 insertions, 0 deletions