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

This patch removes unnecessary return statement using spatch tool

Signed-off-by: Rahul Krishnan <mrahul.krishnan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Rahul Krishnan 2016-12-23 15:29:46 +05:30 committed by Greg Kroah-Hartman
parent fc800c5909
commit 1f8bb58ec5

View file

@ -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;
}