From: tom.leiming@gmail.com Date: Mon, 11 Jun 2012 15:19:39 +0000 (+0000) Subject: usbnet: remove usb_get/put_dev in .probe and .disconnect X-Git-Tag: v3.6-rc1~125^2~557 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef9d884dadd4c9f2c8432a6b82309ae4a133a35d;p=pandora-kernel.git usbnet: remove usb_get/put_dev in .probe and .disconnect usb_device is parent device of usb_interface in the view of driver model, so its reference count is always held during .probe/.disconnect of usb_interface instance. This patch just removes the unnecessay usb_get/put_dev. Signed-off-by: Ming Lei Signed-off-by: David S. Miller --- Reading git-diff-tree failed