Don't null-check
diff --git a/src/transports/smart.c b/src/transports/smart.c
index 1ff39b4..fc7630c 100644
--- a/src/transports/smart.c
+++ b/src/transports/smart.c
@@ -81,9 +81,6 @@ bool is_valid_custom_header(const char *custom_header)
int name_len;
unsigned long i;
- if (custom_header == NULL)
- return true;
-
// Disallow \r and \n
c = strchr(custom_header, '\r');
if (c != NULL)