diff options
author | bz <bz@FreeBSD.org> | 2007-06-16 00:15:14 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2007-06-16 00:15:14 +0000 |
commit | e1f2e7690497be9f169ae2ca111f08881f575df0 (patch) | |
tree | 8e8063434abe72ae4399a1d125657195d69e2927 /sys/dev/wds | |
parent | 2e4e9b90cb613b32969504f14642838cad9d5f31 (diff) | |
download | FreeBSD-src-e1f2e7690497be9f169ae2ca111f08881f575df0.zip FreeBSD-src-e1f2e7690497be9f169ae2ca111f08881f575df0.tar.gz |
In case of failure we can directly return ENOBUFS because
'result' is still NULL and we do not need to free anything.
That allows us to gc the entire goto parts and a now unused variable.
Found with: Coverity Prevent(tm)
CID: 2519
Diffstat (limited to 'sys/dev/wds')
0 files changed, 0 insertions, 0 deletions