net: cdc_ncm: cleanup a type issue in cdc_ncm_setup()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Nov 2013 07:42:34 +0000 (10:42 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 08:10:30 +0000 (03:10 -0500)
This is harmless but cdc_ncm_setup() returns negative error codes
truncated to u8 values.  There is only one caller and treats all
non-zero returns as errors but doesn't store the the return code.  So
the code works correctly but it's messy and upsets the static checkers.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found