staging: hv: change rndis_filter_device_remove() to void return type
authorHaiyang Zhang <haiyangz@microsoft.com>
Mon, 23 May 2011 16:03:47 +0000 (09:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 20:36:00 +0000 (13:36 -0700)
commitdf06bcff819555bf9aca38b2f8263920836fe851
tree75b47830e4cb0e7b1874bcbefad60df0e3105bee
parentca06a22a4181cae9cc291ccdccc5e7188c51b67d
staging: hv: change rndis_filter_device_remove() to void return type

rndis_filter_device_remove() always return 0, so change it to void return
type. Also cleaned up the error checking in the caller.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/hyperv_net.h
drivers/staging/hv/netvsc_drv.c
drivers/staging/hv/rndis_filter.c