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
This commit is contained in:
behlendo
2008-11-04 23:18:31 +00:00
parent 3bc9d50eaa
commit 0498e6c585
2 changed files with 8 additions and 17 deletions
-3
View File
@@ -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);