diff options
author | tom.leiming@gmail.com <tom.leiming@gmail.com> | 2012-06-11 19:19:40 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-13 05:50:23 +0400 |
commit | 5c2f05139ad9459979b3102846fa61347896d148 (patch) | |
tree | 19848cfb2f2b2ffbaec654342fdf6160615e8db0 /drivers/net/usb/cdc-phonet.c | |
parent | ef9d884dadd4c9f2c8432a6b82309ae4a133a35d (diff) | |
download | linux-5c2f05139ad9459979b3102846fa61347896d148.tar.xz |
usbnet:pegasus: 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/cdc-phonet.c')
0 files changed, 0 insertions, 0 deletions