Skip to content

Commit

Permalink
Staging: hv: netvsc: Cleanup error code in rndis_filter_device_add()
Browse files Browse the repository at this point in the history
Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent bc49b92 commit 327efba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/hv/rndis_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ int rndis_filter_device_add(struct hv_device *dev,

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

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

0 comments on commit 327efba

Please sign in to comment.