There does not seem to be any reason to acquire GIANT here. Follow amd64

in removing it.

MFC after:	1 month
This commit is contained in:
Nathan Whitehorn 2015-01-20 16:21:59 +00:00
parent 7d502f3285
commit e1e25f45a4

View File

@ -100,8 +100,6 @@ memrw(struct cdev *dev, struct uio *uio, int flags)
cnt = 0;
error = 0;
GIANT_REQUIRED;
while (uio->uio_resid > 0 && !error) {
iov = uio->uio_iov;
if (iov->iov_len == 0) {