rtnetlink: clean up SR-IOV config interface
authorWilliams, Mitch A <mitch.a.williams@intel.com>
Wed, 24 Feb 2010 21:59:56 +0000 (21:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Feb 2010 12:18:35 +0000 (04:18 -0800)
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>

No differences found