mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
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:
parent
fc800c5909
commit
1f8bb58ec5
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue