[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <BC4B9659-D8B7-4583-9D1E-F412ED989948@holtmann.org>
Date: Thu, 26 Sep 2019 08:34:28 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] bluetooth: hci_nokia: Save a few cycles in
'nokia_enqueue()'
Hi Christophe,
> '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@...adoo.fr>
> ---
> drivers/bluetooth/hci_nokia.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists