Re: [PATCH] rxrpc: remove redundant initialization of variable 'len'

2018-03-16 Thread David Miller
From: Colin King Date: Mon, 12 Mar 2018 17:25:38 + > From: Colin Ian King > > The variable 'len' is being initialized with a value that is never > read and it is re-assigned later, hence the initialization is redundant > and can be removed. > > Cleans up clang warning: > net/rxrpc/recvmsg.

[PATCH] rxrpc: remove redundant initialization of variable 'len'

2018-03-12 Thread Colin King
From: Colin Ian King The variable 'len' is being initialized with a value that is never read and it is re-assigned later, hence the initialization is redundant and can be removed. Cleans up clang warning: net/rxrpc/recvmsg.c:275:15: warning: Value stored to 'len' during its initialization is nev