From: Dan Carpenter Date: Fri, 18 Oct 2013 09:06:56 +0000 (+0300) Subject: ax25: cleanup a range test X-Git-Tag: v3.13-rc1~105^2~172 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=768877537de6b9f7c043b73f82baab4f09ee9799;p=pandora-kernel.git ax25: cleanup a range test The current test works fine in practice. The "amount" variable is actually used as a boolean so negative values or any non-zero values count as "true". However since we don't allow numbers greater than one, let's not allow negative numbers either. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed