提交 17ba9810 编写于 作者: V Vincent Abriou 提交者: 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: NVincent Abriou <vincent.abriou@st.com>
上级 6dfca6b3
......@@ -60,8 +60,6 @@ static int awg_generate_instr(enum opcode opcode,
* pixel. So we transform SKIP into SET
* instruction */
opcode = SET;
arg = (arg << 24) >> 24;
arg &= (0x0ff);
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册