i2c: Remove caller signal_pending branch predictions
This is already done for us internally by the signal machinery. Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
fece497851
commit
e79ba3b550
@ -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 New Issue
Block a user