Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cf7505ef authored by Chuansheng Liu's avatar Chuansheng Liu Committed by Wolfram Sang
Browse files

i2c: nomadik: Fix the usage of wait_for_completion_timeout



The return value of wait_for_completion_timeout() is always
>= 0 with unsigned int type.

So the condition "ret < 0" or "ret >= 0" is pointless.

Signed-off-by: default avatarliu chuansheng <chuansheng.liu@intel.com>
Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
parent 77b67063
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment