diff options
author | Williams, Mitch A <[email protected]> | 2010-02-24 21:59:56 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2010-02-26 04:18:35 -0800 |
commit | 4edb246626be6e031950205c885bdf29fb2ff1eb (patch) | |
tree | 0bc82da3faff62d942c838f3bc020e1081ff9bfe /lib/cpu-notifier-error-inject.c | |
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 <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions