diff options
| author | tom.leiming@gmail.com <tom.leiming@gmail.com> | 2012-06-11 15:19:41 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2012-06-12 18:50:23 -0700 |
| commit | 50e7d153910b0735aa517c3d1f3723a88f66eaba (patch) | |
| tree | 6c90ef6aab55bea6e86f8baead458b5fab67ed92 /drivers/net/usb/usbnet.c | |
| parent | 5c2f05139ad9459979b3102846fa61347896d148 (diff) | |
| download | olio-linux-3.10-50e7d153910b0735aa517c3d1f3723a88f66eaba.tar.xz olio-linux-3.10-50e7d153910b0735aa517c3d1f3723a88f66eaba.zip | |
usbnet:cdc-phonet: 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 <tom.leiming@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/usbnet.c')
0 files changed, 0 insertions, 0 deletions