diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-05-21 19:46:45 -0700 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-06-11 03:30:22 -0700 |
commit | b4bd07e3b13e3c848c7678c4fc870cca1d22ed4e (patch) | |
tree | 56913e329212b41525d581443bb7329c4eaf8570 /virt | |
parent | 2971a5bac8cab3cb56f19e9c494ecb3b120c5199 (diff) |
wimax/i2400m: don't reset device on i2400m_dev_shutdown()
i2400m_dev_shutdown() tried to reset the device to put it in a known
state before shutting down.
But that turned out to be pointless. We reach this case in two paths:
1 - when the device resets, to clean up state
2 - when the driver is unloaded, for the same
however, in both cases it is pointless; in (1) the device is already
reset, why do it again? in (2) we can't -- the USB stack, for example,
doesn't allow communicating with the device when the driver is being
unbound and if the device is disconnected, the device is gone already.
So just remove it. Leave the function as a placeholder for future
cleanups that will be done from data allocated by the driver during
device operation.
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions