aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-08-15 11:22:55 +0530
committerMarcel Holtmann <marcel@holtmann.org>2019-09-05 17:27:21 +0200
commit569428dabc3e2523ca2b357e7d86412df1dd1e6a (patch)
tree1b4059f381787495eb7c38a29f72c8c49582676d /drivers
parentBluetooth: btusb: Fix suspend issue for Realtek devices (diff)
downloadlinux-dev-569428dabc3e2523ca2b357e7d86412df1dd1e6a.tar.xz
linux-dev-569428dabc3e2523ca2b357e7d86412df1dd1e6a.zip
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 'drivers')
0 files changed, 0 insertions, 0 deletions