Re: [PATCH] Bluetooth: hci_conn: Remove redundant memset after kzalloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:

On Sat, 10 Aug 2024 22:14:15 +0800 you wrote:
> Since kzalloc already zeroes the allocated memory, the subsequent
> memset call is unnecessary. This patch removes the redundant memset to
> clean up the code and enhance efficiency.
> 
> Signed-off-by: Kuan-Wei Chiu <visitorckw@xxxxxxxxx>
> ---
> Note: Build test only.
> 
> [...]

Here is the summary with links:
  - Bluetooth: hci_conn: Remove redundant memset after kzalloc
    https://git.kernel.org/bluetooth/bluetooth-next/c/7a6abe8d0fdb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html






[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux