Commit 1f8bb58e authored by Rahul Krishnan's avatar Rahul Krishnan Committed by Greg Kroah-Hartman

staging: xgifb: This patch removes the unnecessary return statement using spatch

This patch removes unnecessary return statement using spatch tool
Signed-off-by: default avatarRahul Krishnan <mrahul.krishnan@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fc800c59
......@@ -579,8 +579,7 @@ static unsigned char XGINew_CheckFrequence(struct vb_device_info *pVBInfo)
if ((data & 0x10) == 0) {
data = xgifb_reg_get(pVBInfo->P3c4, 0x39);
data = (data & 0x02) >> 1;
return data;
return (data & 0x02) >> 1;
}
return data & 0x01;
}
......
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