[PATCH] scsi: ufs: ufs-mediatek: delete some dead code

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Wed May 3 04:42:18 PDT 2023


Il 03/05/23 12:40, Dan Carpenter ha scritto:
> There is already a test for "if (val == state)" earlier so it's not
> possible here.  Delete the dead code.
> 
> Fixes: 9006e3986f66 ("scsi: ufs-mediatek: Do not gate clocks if auto-hibern8 is not entered yet")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>




More information about the linux-arm-kernel mailing list