Commit b3c1a617 authored by Michael Hornung's avatar Michael Hornung Committed by Greg Kroah-Hartman

linux-next: drivers: staging: most: Fix return value

* Fix sparse warning "Using plain integer as NULL pointer"
Signed-off-by: default avatarMichael Hornung <mhornung.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 59ed0480
......@@ -311,7 +311,7 @@ static struct net_dev_context *get_net_dev_context(
}
}
spin_unlock(&list_lock);
return 0;
return NULL;
}
static int aim_probe_channel(struct most_interface *iface, int channel_idx,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment