From: Rupesh Gujare Date: Thu, 15 Aug 2013 11:00:21 +0000 (+0100) Subject: staging: ozwpan: Remove unneeded variable initializer X-Git-Tag: MMI-PSA29.97-13-9~13778^2~258 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3bc0d88243af70a45cd4658723bd4a0aaf5bb6f1;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: ozwpan: Remove unneeded variable initializer We are assigning value to hport before returning, there is no need to initialize it. Signed-off-by: Rupesh Gujare Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c index 4cd08daf5111..9a374fd3d2c9 100644 --- a/drivers/staging/ozwpan/ozhcd.c +++ b/drivers/staging/ozwpan/ozhcd.c @@ -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;