Loading drivers/rtc/rtc-ds1374.c +1 −3 Original line number Diff line number Diff line Loading @@ -89,10 +89,8 @@ static int ds1374_read_rtc(struct i2c_client *client, u32 *time, int ret; int i; if (nbytes > 4) { WARN_ON(1); if (WARN_ON(nbytes > 4)) return -EINVAL; } ret = i2c_smbus_read_i2c_block_data(client, reg, nbytes, buf); Loading Loading
drivers/rtc/rtc-ds1374.c +1 −3 Original line number Diff line number Diff line Loading @@ -89,10 +89,8 @@ static int ds1374_read_rtc(struct i2c_client *client, u32 *time, int ret; int i; if (nbytes > 4) { WARN_ON(1); if (WARN_ON(nbytes > 4)) return -EINVAL; } ret = i2c_smbus_read_i2c_block_data(client, reg, nbytes, buf); Loading