diff options
author | 2019-09-19 21:52:08 +0200 | |
---|---|---|
committer | 2019-10-16 19:26:40 +0200 | |
commit | 088fc633f2d99fee8cbe82047e01068e1c5ffab6 (patch) | |
tree | ab72bf521053fe4ae60b81d21ab7253cc85fd122 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Bluetooth: remove set but not used variable 'smp' (diff) | |
download | linux-dev-088fc633f2d99fee8cbe82047e01068e1c5ffab6.tar.xz linux-dev-088fc633f2d99fee8cbe82047e01068e1c5ffab6.zip |
Bluetooth: hci_nokia: Save a few cycles in 'nokia_enqueue()'
'skb_pad()' a few lines above already initializes the "padded" byte to 0.
So there is no need to do it twice.
All what is needed is to increase the len of the skb. So 'skb_put(..., 1)'
is enough here.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions