提交 eac44dc4 编写于 作者: R Rickard Strandqvist 提交者: Felipe Balbi

usb: musb: musb_host.c: Cleaning up uninitialized variables

There is a risk that the variable will be used without being initialized.

This was largely found by using a static code analysis program called cppcheck.
Signed-off-by: NRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 f875bf35
......@@ -1957,7 +1957,7 @@ static int musb_schedule(
struct musb_qh *qh,
int is_in)
{
int idle;
int idle = 0;
int best_diff;
int best_end, epnum;
struct musb_hw_ep *hw_ep = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册