Re: [PATCH] mmc: sh_mmcif: remove redundant initialization of 'opc'

2018-01-18 Thread Ulf Hansson
On 17 January 2018 at 14:41, Colin King wrote: > From: Colin Ian King > > Variable opc is initialized with a value that is never read, opc > is later re-assigned a newer value, hence the initialization can > be removed. > > Cleans up clang warning: > drivers/mmc/host/sh_mmcif.c:919:6: warning: Va

[PATCH] mmc: sh_mmcif: remove redundant initialization of 'opc'

2018-01-17 Thread Colin King
From: Colin Ian King Variable opc is initialized with a value that is never read, opc is later re-assigned a newer value, hence the initialization can be removed. Cleans up clang warning: drivers/mmc/host/sh_mmcif.c:919:6: warning: Value stored to 'opc' during its initialization is never read S