]> git.baikalelectronics.ru Git - kernel.git/commit
usb/net: rndis: remove ambigous status codes
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 11 May 2012 22:15:59 +0000 (22:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 May 2012 19:03:14 +0000 (15:03 -0400)
commit0714149b7f51dd575a75af3e0a16acc78f7364ef
tree99ed920821a184f461bd78192aab6f880a6228d1
parent96f4b5488830fd7b6b9c76fac36f892b83a793a0
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>
drivers/net/hyperv/rndis_filter.c
include/linux/rndis.h