diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-10-16 16:14:55 +0300 |
---|---|---|
committer | Vincent Abriou <vincent.abriou@st.com> | 2015-11-03 15:04:55 +0300 |
commit | cebd6fbeb2fc9e7c4f10f3656fe9f1ba863a8549 (patch) | |
tree | b3de83f31f2f55d9df62a572b608c368a9a903fd /kernel/audit.c | |
parent | 4d5821a71ce9bed490e5a71987dc03f22e646039 (diff) | |
download | linux-cebd6fbeb2fc9e7c4f10f3656fe9f1ba863a8549.tar.xz |
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: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Vincent Abriou <vincent.abriou@st.com>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions