summaryrefslogtreecommitdiff
path: root/drivers/staging/ozwpan/ozeltbuf.c
diff options
context:
space:
mode:
authorRupesh Gujare <rupesh.gujare@atmel.com>2013-08-13 17:29:24 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-14 21:15:40 (GMT)
commita15e042e262bb62cd8dd9a7ccda9137c9e65cedc (patch)
treea010fd21769aa15888ad40aa4afd846c3894f4d5 /drivers/staging/ozwpan/ozeltbuf.c
parent25403813148a49492726b9b062af4c58c6b240db (diff)
downloadlinux-fsl-qoriq-a15e042e262bb62cd8dd9a7ccda9137c9e65cedc.tar.xz
staging: ozwpan: Remove unneeded initializers
Remove variable initialization wherever it is not required. Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozeltbuf.c')
-rw-r--r--drivers/staging/ozwpan/ozeltbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozeltbuf.c b/drivers/staging/ozwpan/ozeltbuf.c
index 4844d9f..cfc0f39 100644
--- a/drivers/staging/ozwpan/ozeltbuf.c
+++ b/drivers/staging/ozwpan/ozeltbuf.c
@@ -67,7 +67,7 @@ void oz_elt_buf_term(struct oz_elt_buf *buf)
*/
struct oz_elt_info *oz_elt_info_alloc(struct oz_elt_buf *buf)
{
- struct oz_elt_info *ei = NULL;
+ struct oz_elt_info *ei;
spin_lock_bh(&buf->lock);
if (buf->free_elts && buf->elt_pool) {