forked from Minki/linux
staging: sm750fb: Remove unnecessary parenthesis.
Challenge suggested by coccinelle. Remove unnecessary parenthesis around the right hand of the assignment using the below script. @@ binary operator op = {!=,&&,||,>=,<=,&,|}; expression l, r, t; @@ ( l = (r op t) | l = -( r -) ) Signed-off-by: Sanjana Sanikommu <sanjana99reddy99@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
135afb2b21
commit
9a3aebc02a
@ -695,7 +695,7 @@ static int sm750fb_set_drv(struct lynxfb_par *par)
|
||||
output->paths = sm750_crt;
|
||||
crtc->channel = sm750_secondary;
|
||||
/* not consider of padding stuffs for oScreen,need fix */
|
||||
crtc->oScreen = (sm750_dev->vidmem_size >> 1);
|
||||
crtc->oScreen = sm750_dev->vidmem_size >> 1;
|
||||
crtc->vScreen = sm750_dev->pvMem + crtc->oScreen;
|
||||
}
|
||||
break;
|
||||
@ -709,7 +709,7 @@ static int sm750fb_set_drv(struct lynxfb_par *par)
|
||||
output->paths = sm750_crt;
|
||||
crtc->channel = sm750_primary;
|
||||
/* not consider of padding stuffs for oScreen,need fix */
|
||||
crtc->oScreen = (sm750_dev->vidmem_size >> 1);
|
||||
crtc->oScreen = sm750_dev->vidmem_size >> 1;
|
||||
crtc->vScreen = sm750_dev->pvMem + crtc->oScreen;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user