usb/net: rndis: remove ambigous status codes
The RNDIS status codes are redefined with much stranged ifdeffery and only one of these codes was used in the hyperv driver, and there it is very clearly referring to the RNDIS variant, not some other status. So clarify this by explictly using the RNDIS_* prefixed status code in the hyperv drivera and delete the duplicate defines. Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
7591157e18
commit
007e5c8e6a
@@ -267,11 +267,11 @@ static void rndis_filter_receive_response(struct rndis_device *dev,
|
||||
REMOTE_NDIS_RESET_CMPLT) {
|
||||
/* does not have a request id field */
|
||||
request->response_msg.msg.reset_complete.
|
||||
status = STATUS_BUFFER_OVERFLOW;
|
||||
status = RNDIS_STATUS_BUFFER_OVERFLOW;
|
||||
} else {
|
||||
request->response_msg.msg.
|
||||
init_complete.status =
|
||||
STATUS_BUFFER_OVERFLOW;
|
||||
RNDIS_STATUS_BUFFER_OVERFLOW;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user