提交 3bc0d882 编写于 作者: R Rupesh Gujare 提交者: Greg Kroah-Hartman

staging: ozwpan: Remove unneeded variable initializer

We are assigning value to hport before returning, there is
no need to initialize it.
Signed-off-by: NRupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 35cf9045
...@@ -663,7 +663,7 @@ static inline void oz_hcd_put(struct oz_hcd *ozhcd) ...@@ -663,7 +663,7 @@ static inline void oz_hcd_put(struct oz_hcd *ozhcd)
struct oz_port *oz_hcd_pd_arrived(void *hpd) struct oz_port *oz_hcd_pd_arrived(void *hpd)
{ {
int i; int i;
struct oz_port *hport = NULL; struct oz_port *hport;
struct oz_hcd *ozhcd; struct oz_hcd *ozhcd;
struct oz_endpoint *ep; struct oz_endpoint *ep;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册