take the dummy csum_and_copy_from_user() into net/checksum.h
[linux-2.6-microblaze.git] / arch / ia64 / lib / csum_partial_copy.c
index ab59eb3..5d147a3 100644 (file)
@@ -103,24 +103,6 @@ out:
  * This is very ugly but temporary. THIS NEEDS SERIOUS ENHANCEMENTS.
  * But it's very tricky to get right even in C.
  */
-__wsum
-csum_and_copy_from_user(const void __user *src, void *dst,
-                               int len, __wsum psum, int *errp)
-{
-       /* XXX Fixme
-        * for now we separate the copy from checksum for obvious
-        * alignment difficulties. Look at the Alpha code and you'll be
-        * scared.
-        */
-
-       if (copy_from_user(dst, src, len))
-               *errp = -EFAULT;
-
-       return csum_partial(dst, len, psum);
-}
-
-EXPORT_SYMBOL(csum_and_copy_from_user);
-
 __wsum
 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum)
 {