Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

remove odd and misleading comments from uio.h

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Christoph Hellwig and committed by
Linus Torvalds
e0807061 1b0fac45

-9
-9
include/linux/uio.h
··· 13 13 * 2 of the License, or (at your option) any later version. 14 14 */ 15 15 16 - 17 - /* A word of warning: Our uio structure will clash with the C library one (which is now obsolete). Remove the C 18 - library one from sys/uio.h if you have a very old library set */ 19 - 20 16 struct iovec 21 17 { 22 18 void __user *iov_base; /* BSD uses caddr_t (1003.1g requires void *) */ ··· 34 38 35 39 #define UIO_FASTIOV 8 36 40 #define UIO_MAXIOV 1024 37 - #if 0 38 - #define UIO_MAXIOV 16 /* Maximum iovec's in one operation 39 - 16 matches BSD */ 40 - /* Beg pardon: BSD has 1024 --ANK */ 41 - #endif 42 41 43 42 /* 44 43 * Total number of bytes covered by an iovec.