From: Michael Chan Date: Mon, 29 Jul 2013 02:03:56 +0000 (-0700) Subject: cnic: Simplify cnic_release(). X-Git-Tag: v3.12-rc1~132^2~440 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b54345ea32ccd830066a793388a55473e05a4679;p=pandora-kernel.git cnic: Simplify cnic_release(). Since unregister_netdevice_notifier() will replay the NETDEV_DOWN and NETDEV_UNREGISTER_EVENTS, the cnic_dev_list will be cleaned up automatically. The loop to cleanup the cnic_dev_list can be removed in cnic_release(). Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed