/* Setup timeout for a device. On timeout trigger an update.  */
static void con3270_set_timer(struct con3270 *cp, int expires)
/* Setup timeout for a device. On timeout trigger an update.  */
static void con3270_set_timer(struct con3270 *cp, int expires)
{
	if (expires == 0)
		del_timer(&cp->timer);
	else
		mod_timer(&cp->timer, jiffies + expires);
}