Re: [PATCH linux-next v3] usb: typec: tcpm: tcpci: Remove the unneeded result variable

From: Greg KH
Date: Tue Aug 30 2022 - 08:50:03 EST


On Mon, Aug 29, 2022 at 03:04:43AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: xupanda <xu.panda@xxxxxxxxxx>
>
> Return the value regmap_update_bits() directly instead of
> storing it in another redundant variable.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>

I am now just going to drop all patches like this, given that no one
seems to be following the proper documentation for how to handle
research tools like this :(

greg k-h