Skip to content
Commit 3a11c0e1 authored by Colin Ian King's avatar Colin Ian King Committed by Dmitry Torokhov
Browse files

Input: synaptics-rmi4 - remove redundant null check on rmi_dev



rmi_dev is currently being dereferenced before it null checked, however,
after deeper inspecting, rmi_dev can never be null, so just remove this
redundant check.

Fixes CoverityScan CID 1391218 ("Dereference before null check")

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 0c54fe74
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment