Commit 327efbae authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman
Browse files

Staging: hv: netvsc: Cleanup error code in rndis_filter_device_add()



Use standard Linux error codes.

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent bc49b926
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -673,7 +673,7 @@ int rndis_filter_device_add(struct hv_device *dev,


	rndisDevice = get_rndis_device();
	rndisDevice = get_rndis_device();
	if (!rndisDevice)
	if (!rndisDevice)
		return -1;
		return -ENODEV;


	/*
	/*
	 * Let the inner driver handle this first to create the netvsc channel
	 * Let the inner driver handle this first to create the netvsc channel