From: Dan Carpenter Date: Wed, 13 Nov 2013 07:42:34 +0000 (+0300) Subject: net: cdc_ncm: cleanup a type issue in cdc_ncm_setup() X-Git-Tag: v3.13-rc1~33^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64b8c8e573f614853c6cb828b2853da8e285377f;p=pandora-kernel.git 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: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed