]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: printer: eliminate file global printer_mutex
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Tue, 3 Mar 2015 09:52:20 +0000 (10:52 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:38 +0000 (15:33 -0500)
commita0799f68cdded0829ff23c464552a2bcda086246
tree1dcd3b109a45a32c3315ef47bdc5dd254d38b189
parent9484f620d70a64eb1926f02ae034dd02d00ebec7
usb: gadget: printer: eliminate file global printer_mutex

The mutex is a legacy after semi-automatic Big Kernel Lock removal.
printer_open() does its own locking, so no need to duplicate it.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/legacy/printer.c