From: Michael Chan Date: Tue, 3 Jun 2014 06:08:47 +0000 (-0700) Subject: cnic: Don't take cnic_dev_lock in cnic_alloc_uio_rings() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~78^2~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=437b8a26f9d057505e631b9b556e9d80c1987aca;p=pandora-kernel.git cnic: Don't take cnic_dev_lock in cnic_alloc_uio_rings() We are allocating memory with GFP_KERNEL under spinlock. Since this is the only call manipulating the cnic_udev_list and it is always under rtnl_lock, cnic_dev_lock can be safely removed. Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed