Skip to content

Commit

Permalink
remove odd and misleading comments from uio.h
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hellwig <[email protected]>
Cc: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Christoph Hellwig authored and Linus Torvalds committed Jul 16, 2007
1 parent 1b0fac4 commit e080706
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions include/linux/uio.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
* 2 of the License, or (at your option) any later version.
*/


/* A word of warning: Our uio structure will clash with the C library one (which is now obsolete). Remove the C
library one from sys/uio.h if you have a very old library set */

struct iovec
{
void __user *iov_base; /* BSD uses caddr_t (1003.1g requires void *) */
Expand All @@ -38,11 +34,6 @@ struct kvec {

#define UIO_FASTIOV 8
#define UIO_MAXIOV 1024
#if 0
#define UIO_MAXIOV 16 /* Maximum iovec's in one operation
16 matches BSD */
/* Beg pardon: BSD has 1024 --ANK */
#endif

/*
* Total number of bytes covered by an iovec.
Expand Down

0 comments on commit e080706

Please sign in to comment.