staging: rtl8192e: rtl8192e: rtl_core.c: Audit the return value of register_netdev()
authorKumar Amit Mehta <gmate.amit@gmail.com>
Thu, 15 Nov 2012 17:22:13 +0000 (22:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 23:26:14 +0000 (15:26 -0800)
Inspect the return value of register_netdev() in the driver probe routine and
return -ENODEV in case of error.

Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found