diff options
author | Krishna Kumar <krkumar2@in.ibm.com> | 2006-06-22 10:47:27 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-06-22 10:47:27 -0400 |
commit | 183208284e3ab3816189fc0e23faf29675ce6c9f (patch) | |
tree | 4a99c2275740be90a73e6a43aa04f8c75028a5ab /drivers/char/cd1865.h | |
parent | 52ab3f3dc711eeccbfbcc5d4f5c5d9b9ff59650f (diff) |
IB/uverbs: Don't free wr list when it's known to be empty
In ib_uverbs_post_send(), move the "out:" label after the loop that
frees the list of work requests, since the only place that jumps there
is before any work requests could possibly be added to the list.
This removes a compile warning: "is_ud might be used uninitialized in
this function".
Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/char/cd1865.h')
0 files changed, 0 insertions, 0 deletions