On Thu, May 23, 2019 at 01:52:29PM +0530, Nishka Dasgupta wrote:
>
>
> On 23/05/19 12:52 PM, Greg KH wrote:
> > On Thu, May 23, 2019 at 12:35:26PM +0530, Nishka Dasgupta wrote:
> > > Variable client, assigned to priv->client, is used only once in a
> > > function argument; hence, it can be remove
On 23/05/19 12:52 PM, Greg KH wrote:
On Thu, May 23, 2019 at 12:35:26PM +0530, Nishka Dasgupta wrote:
Variable client, assigned to priv->client, is used only once in a
function argument; hence, it can be removed and the function argument
replaced with priv->client directly.
Issue found with C
On Thu, May 23, 2019 at 12:35:26PM +0530, Nishka Dasgupta wrote:
> Variable client, assigned to priv->client, is used only once in a
> function argument; hence, it can be removed and the function argument
> replaced with priv->client directly.
> Issue found with Coccinelle.
>
> Signed-off-by: Nish
Variable client, assigned to priv->client, is used only once in a
function argument; hence, it can be removed and the function argument
replaced with priv->client directly.
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta
---
drivers/staging/fieldbus/anybuss/hms-profinet.c | 4 +---
1