Remove deprecated code from logging.

Bug: webrtc:10198
Change-Id: I00c74751c5c71e515c3208a558677215ac547b78
Reviewed-on: https://webrtc-review.googlesource.com/c/116994
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26235}
diff --git a/rtc_base/logging.h b/rtc_base/logging.h
index b46aa2d..5cd4f72 100644
--- a/rtc_base/logging.h
+++ b/rtc_base/logging.h
@@ -358,11 +358,6 @@
   }
 };
 
-// TODO(bugs.webrtc.org/9278): Remove this once it's no longer used.
-struct LogMessageVoidify {
-  void operator&(std::ostream&) {}  // no-presubmit-check TODO(webrtc:8982)
-};
-
 }  // namespace webrtc_logging_impl
 
 // Direct use of this class is deprecated; please use the logging macros
@@ -509,13 +504,6 @@
 // Logging Helpers
 //////////////////////////////////////////////////////////////////////
 
-// DEPRECATED.
-// TODO(bugs.webrtc.org/9278): Remove once there are no more users.
-#define RTC_LOG_SEVERITY_PRECONDITION(sev) \
-  (rtc::LogMessage::IsNoop(sev))           \
-      ? static_cast<void>(0)               \
-      : rtc::webrtc_logging_impl::LogMessageVoidify()&
-
 #define RTC_LOG_FILE_LINE(sev, file, line)      \
   rtc::webrtc_logging_impl::LogCall() &         \
       rtc::webrtc_logging_impl::LogStreamer<>() \