Commit 17ba9810 authored by Vincent Abriou's avatar Vincent Abriou Committed by Benjamin Gaignard

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: default avatarVincent Abriou <vincent.abriou@st.com>
parent 6dfca6b3
...@@ -60,8 +60,6 @@ static int awg_generate_instr(enum opcode opcode, ...@@ -60,8 +60,6 @@ static int awg_generate_instr(enum opcode opcode,
* pixel. So we transform SKIP into SET * pixel. So we transform SKIP into SET
* instruction */ * instruction */
opcode = SET; opcode = SET;
arg = (arg << 24) >> 24;
arg &= (0x0ff);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment