From: J Freyensee <[email protected]>

This patch removes code that was deemed incorrect
from an observed code review on a different driver
on the Meego kernel list.

Signed-off-by: J Freyensee <[email protected]>
---
 drivers/misc/pti.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/drivers/misc/pti.c b/drivers/misc/pti.c
index c8df8e9..71aa783 100644
--- a/drivers/misc/pti.c
+++ b/drivers/misc/pti.c
@@ -857,13 +857,6 @@ static void __exit pti_exit(void)
 {
        int retval;
 
-       /* If some thead is hanging onto the alloclock, force it to release
-        * it because we are shutting down.
-        */
-       if (mutex_is_locked(&alloclock) == 1)
-               mutex_unlock(&alloclock);
-       mutex_destroy(&alloclock);
-
        retval = misc_deregister(&pti_char_driver);
        if (retval) {
                pr_err("%s(%d): CHAR unregistration failed of pti driver\n",
-- 
1.6.6.1

_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to