Index: net/cert/ct_serialization.cc |
diff --git a/net/cert/ct_serialization.cc b/net/cert/ct_serialization.cc |
index f670439ebed64c5fd160a3dc2145fcdf292327b4..691b18d96cb1b08be2fb8bf3abb87035a3c73353 100644 |
--- a/net/cert/ct_serialization.cc |
+++ b/net/cert/ct_serialization.cc |
@@ -169,22 +169,6 @@ bool ConvertSignatureAlgorithm( |
return true; |
} |
-// Checks and converts a log entry type. |
-// |in| the numeric representation of the log type. |
-// If the log type is 0 (X.509 cert) or 1 (PreCertificate), fills in |out| and |
-// returns true. Otherwise, returns false. |
-bool ConvertLogEntryType(int in, LogEntry::Type* out) { |
- switch (in) { |
- case LogEntry::LOG_ENTRY_TYPE_X509: |
- case LogEntry::LOG_ENTRY_TYPE_PRECERT: |
- break; |
- default: |
- return false; |
- } |
- *out = static_cast<LogEntry::Type>(in); |
- return true; |
-} |
- |
// Writes a TLS-encoded variable length unsigned integer to |output|. |
// |length| indicates the size (in bytes) of the integer. |
// |value| the value itself to be written. |