]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add __init and __exit marks to RFCOMM
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 24 Jul 2010 05:04:45 +0000 (02:04 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 27 Jul 2010 19:37:27 +0000 (12:37 -0700)
commitede7fb4a5e9df90ad7058a2eaf97091d3d95670f
treec4fe061e063d399c73a08e3fef7864fb4fe36a72
parentd0d5dda5cc400bbb1d64af7d98ae45ad2adfae2f
Bluetooth: Add __init and __exit marks to RFCOMM

Those annotation save memory and space on the binary. __init code is
discarded just after execute and __exit code is discarded if the module
is built into the kernel image or unload of modules is not allowed.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/rfcomm/sock.c
net/bluetooth/rfcomm/tty.c