mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
i2c: Remove caller signal_pending branch predictions
This is already done for us internally by the signal machinery. Signed-off-by: Davidlohr Bueso <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
This commit is contained in:
parent
fece497851
commit
e79ba3b550
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ static int iic_wait_for_tc(struct ibm_iic_private* dev){
|
|||
break;
|
||||
}
|
||||
|
||||
if (unlikely(signal_pending(current))){
|
||||
if (signal_pending(current)){
|
||||
DBG("%d: poll interrupted\n", dev->idx);
|
||||
ret = -ERESTARTSYS;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue