On Tue, Apr 13, 2021 at 05:09:54PM +1200, Chris Packham wrote:
> In mpc_i2c_get_fdr_8xxx div is assigned as we iterate through the
> mpc_i2c_dividers_8xxx array. By the time we exit the loop div will
> either have the value that matches the requested speed or be pointing at
> the last entry in mpc_i2c_dividers_8xxx. Checking for div being NULL
> after the loop is redundant so remove the check.
> 
> Reported-by: Wolfram Sang <w...@kernel.org>
> Signed-off-by: Chris Packham <chris.pack...@alliedtelesis.co.nz>

Applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature

Reply via email to