Thread (12 messages) 12 messages, 7 authors, 2h ago

Re: (subset) [PATCH 00/36] treewide: remove conditional returns with no effect

From: Sebastian Reichel <hidden>
Date: 2026-07-24 23:35:11
Also in: amd-gfx, dm-devel, dmaengine, dri-devel, intel-gfx, linux-cifs, linux-clk, linux-crypto, linux-edac, linux-gpio, linux-iio, linux-input, linux-iommu, linux-media, linux-mm, linux-pm, linux-rdma, linux-rtc, linux-s390, linux-scsi, linux-sound, linux-usb, linux-wireless, lkml, lvs-devel, netfilter-devel, nouveau, platform-driver-x86

On Fri, 24 Jul 2026 03:45:02 +0900, Sang-Heon Jeon wrote:
While reading mm/memblock, I found a conditional return where both
branches return the same value:

	err = do_something();
	if (err)
		return err;
	return err;

[...]
Applied, thanks!

[26/36] power: supply: pm8916_lbc: remove conditional return with no effect
        commit: b7c8d46411317f135e7791c0eddc56691de63f07

Best regards,
-- 
Sebastian Reichel [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help