diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2018-11-16 01:27:12 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-11-27 12:59:16 +0100 |
commit | e79ba3b55086f717d997114f45822605f97c1e41 (patch) | |
tree | f9a68e976ffa2cb3ff4d85a4dca72a1eadb2ff96 /drivers/i2c | |
parent | i2c: imx: don't print error message on probe defer (diff) | |
download | linux-e79ba3b55086f717d997114f45822605f97c1e41.tar.xz linux-e79ba3b55086f717d997114f45822605f97c1e41.zip |
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')
-rw-r--r-- | drivers/i2c/busses/i2c-ibm_iic.c | 2 |
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; |