[PATCH] USB: fix visor leaks
authorPete Zaitcev <zaitcev@redhat.com>
Wed, 21 Jun 2006 22:03:40 +0000 (15:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Jul 2006 23:03:21 +0000 (16:03 -0700)
commitbd97c4f035b47c1a3ae5cc5ceccdda028b25e9d5
treee866962fc6f316111ad5f8d767b40b9d3890885f
parent34f8e761724ecbfe46246f3faa4c7dbfc3555c26
[PATCH] USB: fix visor leaks

This patch fixes blatant leaks in visor driver and makes it report
mode sensible things in ->write_room (this is only needed if your visor
is a terminal though).

It is made to fit into 80 columns with a temporary variable.
Might even save a few instructions...

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/visor.c