USB: zte_ev: fix broken open
authorJohan Hovold <jhovold@gmail.com>
Tue, 4 Jun 2013 16:50:28 +0000 (18:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2013 17:17:09 +0000 (10:17 -0700)
commitd8a1d0d54d5fdac0347b75e9afd554b3dfaa465f
treed0b75e7d6e640bc2ebf6c73600b6f6f8d0c24efa
parent8a2f132a01c2dd4c3905fa560f92019761ed72b1
USB: zte_ev: fix broken open

Remove bogus port-number check in open and close, which prevented this
driver from being used with a minor number different from zero.

Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/zte_ev.c