commit | 4edb246626be6e031950205c885bdf29fb2ff1eb | [log] [tgz] |
---|---|---|
author | Williams, Mitch A <mitch.a.williams@intel.com> | Wed Feb 24 21:59:56 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 26 04:18:35 2010 -0800 |
tree | 0bc82da3faff62d942c838f3bc020e1081ff9bfe | |
parent | 914c8ad2d18b62ad1420f518c0cab0b0b90ab308 [diff] |
rtnetlink: clean up SR-IOV config interface This patch consists of a few minor cleanups to the SR-IOV configurion code in rtnetlink. - Remove unneccesary lock - Remove unneccesary casts - Return correct error code for no driver support These changes are based on comments from Patrick McHardy Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>