Skip to content
Commit 64b8c8e5 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

net: cdc_ncm: cleanup a type issue in cdc_ncm_setup()



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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 81b9eab5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment