Fix return code in pci-skeleton.c
authorAnton Blanchard <anton@samba.org>
Fri, 16 Mar 2007 22:00:21 +0000 (17:00 -0500)
committerJeff Garzik <jeff@garzik.org>
Fri, 23 Mar 2007 05:48:33 +0000 (01:48 -0400)
commit5c4851ccb6b12ff29e28b84e7515a18006b19fdf
tree260e2b2f4fde9c1a33748d5adae7b3bfdcbdbac3
parent9cbe330f1fbbc8de15a5914aa6e91d89eb9daac4
Fix return code in pci-skeleton.c

We assign the return value of register_netdev to i, but return rc later
on. Fix it.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pci-skeleton.c