staging: ozwpan: Remove unneeded variable initializer
authorRupesh Gujare <rupesh.gujare@atmel.com>
Thu, 15 Aug 2013 11:00:21 +0000 (12:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Aug 2013 00:19:27 +0000 (17:19 -0700)
We are assigning value to hport before returning, there is
no need to initialize it.

Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozhcd.c

index 4cd08daf5111960f061ea01975931993ee7d27df..9a374fd3d2c9c6137ebeeb74604760482c7d8b09 100644 (file)
@@ -663,7 +663,7 @@ static inline void oz_hcd_put(struct oz_hcd *ozhcd)
 struct oz_port *oz_hcd_pd_arrived(void *hpd)
 {
        int i;
-       struct oz_port *hport = NULL;
+       struct oz_port *hport;
        struct oz_hcd *ozhcd;
        struct oz_endpoint *ep;