diff options
author | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-11-04 23:18:31 +0000 |
---|---|---|
committer | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-11-04 23:18:31 +0000 |
commit | 0498e6c5853a37b2d41e043fd566a752281f2185 (patch) | |
tree | 02cfe280e72f1204fcabdb225194d7a115d0646c /include | |
parent | 3bc9d50eaa95af0c5de6e5408bf91b0001b56280 (diff) |
Removed useless check
Fix forward NULL in splat kmem_cache test ctors/dtors
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@171 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/vmsystm.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sys/vmsystm.h b/include/sys/vmsystm.h index f0688393c..e10a1dc54 100644 --- a/include/sys/vmsystm.h +++ b/include/sys/vmsystm.h @@ -72,9 +72,6 @@ copyinstr(const void *from, void *to, size_t len, size_t *done) if (len == 0) return -ENAMETOOLONG; - if (len < 0) - return -EFAULT; - /* XXX: Should return ENAMETOOLONG if 'strlen(from) > len' */ memset(to, 0, len); |