Skip to content
Commit 73b39a76 authored by Tom Rini's avatar Tom Rini
Browse files

usb: gadget: f_mass_storage: Rework do_request_sense slightly



When building with clang, it notes that sdinfo may be unused
uninitialized in some cases. This appears to be true from reading the
code, and we can simply set the variable to zero to start with and be as
correct as before.

Signed-off-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
parent 51a765b3
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