telnet_interface: if we don't check for the return value, don't use ret
diff --git a/src/vty/telnet_interface.c b/src/vty/telnet_interface.c
index 7631f80..1a28510 100644
--- a/src/vty/telnet_interface.c
+++ b/src/vty/telnet_interface.c
@@ -94,7 +94,6 @@
 
 static void print_welcome(int fd)
 {
-	int ret;
 	static const char *msg1 = "Welcome to the ";
 	static const char *msg2 = " control interface\r\n";
 	const char *app_name = "<unnamed>";
@@ -102,12 +101,12 @@
 	if (host.app_info->name)
 		app_name = host.app_info->name;
 
-	ret = write(fd, msg1, strlen(msg1));
-	ret = write(fd, app_name, strlen(app_name));
-	ret = write(fd, msg2, strlen(msg2));
+	write(fd, msg1, strlen(msg1));
+	write(fd, app_name, strlen(app_name));
+	write(fd, msg2, strlen(msg2));
 
 	if (host.app_info->copyright)
-		ret = write(fd, host.app_info->copyright, strlen(host.app_info->copyright));
+		write(fd, host.app_info->copyright, strlen(host.app_info->copyright));
 }
 
 int telnet_close_client(struct osmo_fd *fd)