Skip to content
Commit b884eb8c authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: sur40 - suppress false uninitialized variable warning



We will never use packet_id before initializing it as we start with
"need_blobs == -1" and will set packet_id there.

Also use le32_to_cpu when fetching header->packet_id.

Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 358f2470
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