Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: sti: fix static checker warning in sti_awg_utils

The shift and the mask done on arg value is useless
since arg is null.

Signed-off-by: Vincent Abriou <vincent.abriou@st.com>

authored by

Vincent Abriou and committed by
Benjamin Gaignard
17ba9810 6dfca6b3

-2
-2
drivers/gpu/drm/sti/sti_awg_utils.c
··· 60 60 * pixel. So we transform SKIP into SET 61 61 * instruction */ 62 62 opcode = SET; 63 - arg = (arg << 24) >> 24; 64 - arg &= (0x0ff); 65 63 break; 66 64 } 67 65