[PATCH] USB: gadget-serial: do not save/restore IRQ flags in gs_close()
commitca094f1186ef50ef8983325072cdc4f051830f13
authorFranck Bui-Huu <vagabon.xyz@gmail.com>
Wed, 14 Jun 2006 08:47:18 +0000 (14 10:47 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:17 +0000 (21 15:04 -0700)
tree1613108cc900cda8d209b48a86d9d1bf66d174ad
parent943e1b4d60dc7acfabe2ebad31189bcb3b853688
[PATCH] USB: gadget-serial: do not save/restore IRQ flags in gs_close()

As pointed out by David Brownell, we know that IRQs are never
blocked when calling gs_close function. So the save/restore
IRQ flags are pointless.

Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/serial.c