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:
parent
8bed125da7
commit
147cd40fe7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user