From 9669f54194b4df34c96478d696d9ba2b977545f5 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 6 Dec 2009 17:06:26 +0100 Subject: [PATCH] i2c: Remove big kernel lock from i2cdev_open The BKL is held over a kmalloc so cannot protect anything beyond that. The two calls before the kmalloc have their own locking. Improve device open function by removing the now unnecessary ret variable Signed-off-by: Vincent Sanders Signed-off-by: Thomas Gleixner Signed-off-by: Jean Delvare --- Reading git-format-patch failed