The invoked function already returns zero on success or a negative
errno code so there is no need to open code the logic in the caller.
This also fixes the following make coccicheck warnings:
drivers/input/mouse/synaptics_i2c.c:298:1-4: WARNING: end returns can be
simplified
Signed-off-by:
The invoked function already returns zero on success or a negative
errno code so there is no need to open code the logic in the caller.
This also fixes the following make coccicheck warnings:
drivers/input/mouse/synaptics_i2c.c:298:1-4: WARNING: end returns can be
simplified
Signed-off-by:
2 matches
Mail list logo