aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorNishka Dasgupta <[email protected]>2019-08-15 11:22:55 +0530
committerMarcel Holtmann <[email protected]>2019-09-05 17:27:21 +0200
commit569428dabc3e2523ca2b357e7d86412df1dd1e6a (patch)
tree1b4059f381787495eb7c38a29f72c8c49582676d /scripts/gdb/linux/modules.py
parent9e45524a011107a73bc2cdde8370c61e82e93a4d (diff)
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 <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions