mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
drm/tidss: Drop useless variable init
No need to initialize the ret to 0 in dispc_softreset(). Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Aradhya Bhatia <a-bhatia1@ti.com> Link: https://lore.kernel.org/r/20231109-tidss-probe-v2-3-ac91b5ea35c0@ideasonboard.com Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
This commit is contained in:
parent
4b0bdf9383
commit
c2746e4d27
@ -2764,7 +2764,7 @@ static void dispc_init_errata(struct dispc_device *dispc)
|
||||
static void dispc_softreset(struct dispc_device *dispc)
|
||||
{
|
||||
u32 val;
|
||||
int ret = 0;
|
||||
int ret;
|
||||
|
||||
/* Soft reset */
|
||||
REG_FLD_MOD(dispc, DSS_SYSCONFIG, 1, 1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user