Re: [PATCH] net: caif: remove redundant assignment to variable expectlen

From: patchwork-bot+netdevbpf
Date: Tue Dec 28 2021 - 08:00:16 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Tue, 28 Dec 2021 00:45:42 +0000 you wrote:
> Variable expectlen is being assigned a value that is never read, the
> assignment occurs before a return statement. The assignment is
> redundant and can be removed.
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
> ---
> net/caif/cfserl.c | 1 -
> 1 file changed, 1 deletion(-)

Here is the summary with links:
- net: caif: remove redundant assignment to variable expectlen
https://git.kernel.org/netdev/net-next/c/0f1eae8e565e

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