diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-11-24 18:34:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-24 18:34:00 -0500 |
commit | 4b40eed73e3787d60160beed1352ceadd24f6be1 (patch) | |
tree | b85c3f6b4a159cee164c9cec7ac12be849d8e568 /drivers/power | |
parent | 486bf8de17361232c40e092a219f328093e34dca (diff) |
infiniband: Kill directly reference of netdev->priv
This use of netdev->priv is wrong.
The right way is:
alloc_netdev() with no memory for private data.
make netdev->ml_priv to point to c2_dev.
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Acked-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions