summaryrefslogtreecommitdiff
path: root/drivers/staging/ozwpan
diff options
context:
space:
mode:
authorRupesh Gujare <rupesh.gujare@atmel.com>2013-08-15 11:00:21 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-16 00:19:27 (GMT)
commit3bc0d88243af70a45cd4658723bd4a0aaf5bb6f1 (patch)
tree75bb25cd9a5624bbf4eee63c59da88e58221cc43 /drivers/staging/ozwpan
parent35cf90459312fc3b6bc4bbf31aa5fe47b73922d4 (diff)
downloadlinux-fsl-qoriq-3bc0d88243af70a45cd4658723bd4a0aaf5bb6f1.tar.xz
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 <rupesh.gujare@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan')
-rw-r--r--drivers/staging/ozwpan/ozhcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c
index 4cd08da..9a374fd 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;