summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-ibm_iic.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2018-11-15 16:27:12 -0800
committerWolfram Sang <wsa@the-dreams.de>2018-11-27 12:59:16 +0100
commite79ba3b55086f717d997114f45822605f97c1e41 (patch)
treef9a68e976ffa2cb3ff4d85a4dca72a1eadb2ff96 /drivers/i2c/busses/i2c-ibm_iic.c
parentfece4978510e43f09c8cd386fee15210e8c68493 (diff)
downloadlinux-e79ba3b55086f717d997114f45822605f97c1e41.tar.bz2
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>
Diffstat (limited to 'drivers/i2c/busses/i2c-ibm_iic.c')
-rw-r--r--drivers/i2c/busses/i2c-ibm_iic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c
index 6f6e1dfe7cce..d78023d42a35 100644
--- a/drivers/i2c/busses/i2c-ibm_iic.c
+++ b/drivers/i2c/busses/i2c-ibm_iic.c
@@ -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;