diff options
-rw-r--r-- | tools/ipc-imei.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/ipc-imei.c b/tools/ipc-imei.c index 004efa1..0ac3733 100644 --- a/tools/ipc-imei.c +++ b/tools/ipc-imei.c @@ -137,7 +137,6 @@ int main(int argc, char** argv) struct ipc_client *client = NULL; struct app_modem_response_handler handler; - int fd; int rc; if (argc == 0) { @@ -153,14 +152,6 @@ int main(int argc, char** argv) return 1; } - fd = open("/dev/tty0", O_WRONLY|O_NOCTTY); - if (fd == -1) { - fd = errno; - printf("Opening /dev/tty0 failed: error %d: %s\n", - fd, strerror(fd)); - return -1; - } - rc = ipc_client_log_callback_register(client, modem_log_handler, NULL); if (rc < 0) { printf("ipc_client_log_callback_registerma failed:" |