staging: lustre: lnet: replace uninitialized_var
Checkpatch for some reason doesn't like the way libcfs_str2net_internal. Lets just replace it with nf being set to NULL instead Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
eb280ab789
commit
c54f79916c
|
@ -1156,7 +1156,7 @@ EXPORT_SYMBOL(libcfs_nid2str_r);
|
|||
static struct netstrfns *
|
||||
libcfs_str2net_internal(const char *str, __u32 *net)
|
||||
{
|
||||
struct netstrfns *uninitialized_var(nf);
|
||||
struct netstrfns *nf = NULL;
|
||||
int nob;
|
||||
unsigned int netnum;
|
||||
int i;
|
||||
|
|
Loading…
Reference in New Issue