Re: [PATCH][next] regulator: palmas: remove redundant initialization of pointer pdata

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

 



On Sat, 11 Nov 2023 19:53:30 +0000, Colin Ian King wrote:
> Pointer pdata is being initialized with a value that is never read. It is
> being re-assigned later on with the return from a devm_kzalloc call.
> Remove the redundant initialization, cleans up clang scan build warning:
> 
> drivers/regulator/palmas-regulator.c:1597:36: warning: Value stored
> to 'pdata' during its initialization is never read [deadcode.DeadStores]
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: palmas: remove redundant initialization of pointer pdata
      commit: 1fc2e768ff28f096e9fb6438f0d01c3851c7cd68

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux