Auto merge of #22217 - yawboakye:fix-duplicate-code, r=jdm

Remove duplicate code

`req.pipeline_id` is already set with `init.pipeline_id` during initialization.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22217)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-11-18 13:31:47 -05:00 committed by GitHub
commit ac17f08d19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -318,7 +318,6 @@ impl Request {
Referrer::NoReferrer
};
req.referrer_policy = init.referrer_policy;
req.pipeline_id = init.pipeline_id;
req.redirect_mode = init.redirect_mode;
let mut url_list = init.url_list;
if url_list.is_empty() {