commit | 73b39a76e34a3b88a7a2c58588c9a5a604a51d90 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Wed Apr 05 19:48:57 2023 -0400 |
committer | Tom Rini <trini@konsulko.com> | Tue Apr 25 15:31:27 2023 -0400 |
tree | ed8bc5f51d5d89007b28ba3ceb637a0730dc9949 | |
parent | 51a765b37671b4460fdefef5000b9eb6988fddc8 [diff] |
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: Tom Rini <trini@konsulko.com> Reviewed-by: Marek Vasut <marex@denx.de>