Re: [PATCH] lan78xx: remove redundant initialization of pointer 'phydev'

2018-02-01 Thread David Miller
From: Colin King Date: Thu, 1 Feb 2018 17:10:18 + > From: Colin Ian King > > Pointer phydev is initialized and this value is never read, phydev > is immediately updated to a new value, hence this initialization > is redundant and can be removed > > Cleans up clang warning: > drivers/net/u

[PATCH] lan78xx: remove redundant initialization of pointer 'phydev'

2018-02-01 Thread Colin King
From: Colin Ian King Pointer phydev is initialized and this value is never read, phydev is immediately updated to a new value, hence this initialization is redundant and can be removed Cleans up clang warning: drivers/net/usb/lan78xx.c:2009:21: warning: Value stored to 'phydev' during its initia