--- np2/x11/cmserial.c 2011/01/15 16:48:39 1.5 +++ np2/x11/cmserial.c 2012/01/23 04:20:55 1.7 @@ -1,5 +1,3 @@ -/* $Id: cmserial.c,v 1.5 2011/01/15 16:48:39 monaka Exp $ */ - /* * Copyright (c) 2004 NONAKA Kimihiro * All rights reserved. @@ -91,7 +89,6 @@ serialgetstat(COMMNG self) { CMSER serial = (CMSER)(self + 1); int status; - int rv; rv = ioctl(serial->hdl, TIOCMGET, &status); if (!(status & TIOCM_DSR)) {