Commit e79ba3b5 authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Wolfram Sang

i2c: Remove caller signal_pending branch predictions

This is already done for us internally by the signal machinery.
Signed-off-by: default avatarDavidlohr Bueso <dave@stgolabs.net>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent fece4978
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment