]> git.baikalelectronics.ru Git - kernel.git/commit
staging: most: remove redundant call to wake_up_interruptible
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 22 Dec 2015 09:53:00 +0000 (10:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commitfa73bcdbe4a9a7aaf3b4a581c86eb88975c6b1e2
tree3791bedd0cc3b7f09a261d94fcddd9051ea4ee6f
parent603e389321c561e8841bfa1d1029c862305de8b9
staging: most: remove redundant call to wake_up_interruptible

This patch prevents the cdev module from rousing the channel wait queue in
case the channel is about to be closed. It is safe to do so, because the
application can not be waiting within read or write and at the same time
be calling close.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-cdev/cdev.c