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:
Davidlohr Bueso 2018-11-15 16:27:12 -08:00 • committed by Wolfram Sang
commit e79ba3b550

View file

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