diff options
author | 2010-07-19 20:30:14 +0000 | |
---|---|---|
committer | 2010-07-21 10:57:25 -0700 | |
commit | 3d4f9a28e0f543e2a633d54f0f37f6e81a7701cd (patch) | |
tree | 8bc818be7f388dd94437f4bfe61e0c42ad93782c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging (diff) | |
download | linux-dev-3d4f9a28e0f543e2a633d54f0f37f6e81a7701cd.tar.xz linux-dev-3d4f9a28e0f543e2a633d54f0f37f6e81a7701cd.zip |
RDMA/cxgb3: Clean up signed check of unsigned variable
Q_FREECNT() returns the number of spaces free. This should never be a
negative amount. Also the num_wrs is an unsigned int so it can never
be less than zero.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions