Revert second chunk of r333860. The warning from gcc is false positive. The

npages won't be ever used in no space case.
This commit is contained in:
Gleb Smirnoff 2018-05-29 21:45:15 +00:00
parent 8bed125da7
commit 147cd40fe7

View File

@ -688,7 +688,6 @@ vn_sendfile(struct file *fp, int sockfd, struct uio *hdr_uio,
if (space == 0) {
sfio = NULL;
nios = 0;
npages = 0;
goto prepend_header;
}
hdr_uio = NULL;