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:
Davidlohr Bueso 2018-11-15 16:27:12 -08:00 committed by Wolfram Sang
parent fece497851
commit e79ba3b550
1 changed files with 1 additions and 1 deletions

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;