Skip to content
Commit cebd6fbe authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Vincent Abriou
Browse files

drm/sti: remove redundant sign extensions



arg is long int, so arg = (arg << 22) >> 22 makes the upper 22 bits of
arg equal to bit 9 (or bit 41). But we then mask away all but bits 0-9, so
this is entirely redundant.

Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: default avatarVincent Abriou <vincent.abriou@st.com>
parent 4d5821a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment