diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-ibm_iic.c')
-rw-r--r-- | drivers/i2c/busses/i2c-ibm_iic.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c index 961c5f42d956..6f6e1dfe7cce 100644 --- a/drivers/i2c/busses/i2c-ibm_iic.c +++ b/drivers/i2c/busses/i2c-ibm_iic.c | |||
@@ -561,9 +561,6 @@ static int iic_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) | |||
561 | 561 | ||
562 | DBG2("%d: iic_xfer, %d msg(s)\n", dev->idx, num); | 562 | DBG2("%d: iic_xfer, %d msg(s)\n", dev->idx, num); |
563 | 563 | ||
564 | if (!num) | ||
565 | return 0; | ||
566 | |||
567 | /* Check the sanity of the passed messages. | 564 | /* Check the sanity of the passed messages. |
568 | * Uhh, generic i2c layer is more suitable place for such code... | 565 | * Uhh, generic i2c layer is more suitable place for such code... |
569 | */ | 566 | */ |