[SendTabToSelf] removing unneeded local variable

Bug: 961913
Change-Id: I7e06ec2ad5280a811b45405596ebc85bec54842b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1621345
Commit-Queue: sebsg <sebsg@chromium.org>
Reviewed-by: sebsg <sebsg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#661700}
diff --git a/components/send_tab_to_self/send_tab_to_self_entry.cc b/components/send_tab_to_self/send_tab_to_self_entry.cc
index ffac4e2fd..67ed8a5 100644
--- a/components/send_tab_to_self/send_tab_to_self_entry.cc
+++ b/components/send_tab_to_self/send_tab_to_self_entry.cc
@@ -143,14 +143,12 @@
     navigation_time = ProtoTimeToTime(pb_entry.navigation_time_usec());
   }
 
-  bool opened = pb_entry.opened();
-
   // Protobuf parsing enforces utf8 encoding for all strings.
   auto entry = std::make_unique<SendTabToSelfEntry>(
       guid, url, pb_entry.title(), shared_time, navigation_time,
       pb_entry.device_name(), pb_entry.target_device_sync_cache_guid());
 
-  if (opened) {
+  if (pb_entry.opened()) {
     entry->MarkOpened();
   }
   return entry;