Re: [PATCH] net: caif: remove redundant re-assignment of pointer pfrm

2018-01-22 Thread David Miller
From: Colin King Date: Mon, 22 Jan 2018 15:25:43 + > From: Colin Ian King > > The pointer pfrm is initialized and then later re-assigned the same > value and hence the second assignment is redundant and can be removed. > > Cleans up clang warning: > drivers/net/caif/caif_hsi.c:222:6: warni

[PATCH] net: caif: remove redundant re-assignment of pointer pfrm

2018-01-22 Thread Colin King
From: Colin Ian King The pointer pfrm is initialized and then later re-assigned the same value and hence the second assignment is redundant and can be removed. Cleans up clang warning: drivers/net/caif/caif_hsi.c:222:6: warning: Value stored to 'pfrm' during its initialization is never read Sig