staging/ozwpan: Fix NULL vs zero in ozusbsvc1.c (sparse warning)
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 15 Feb 2013 14:22:23 +0000 (15:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Feb 2013 18:23:50 +0000 (10:23 -0800)
commit4d1b2fbbaf6420f64fae8b3f3a7801fc97d07260
tree88dfe606141817abcfb52808da9056572174ea69
parent86b02be043c42e1d7450be025177e3e248a2e8c1
staging/ozwpan: Fix NULL vs zero in ozusbsvc1.c (sparse warning)

This patch fixes the warning "Using plain integer as NULL pointer",
generated by sparse, by replacing the offending 0s with NULL.

If the initialization with NULL was unnecessary (due to unconditional
assignment before first use) it was removed.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozusbsvc1.c