commit | 9ca046d57412361ac4d220b96fed7fb932616d85 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Thu Apr 09 22:49:39 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 11 02:55:16 2009 -0700 |
tree | 6339686dd2d51243c29c6ae1abf18f131a853012 | |
parent | 2d165771062cae75de26fe7bc7cb2d937ff6f1b4 [diff] |
igb: do not check for vf_data if we didn't enable vfs The driver is currently dumping a message in the log about failing to allocate vf data when max_vfs is equal to 0. This change makes it so the error message is only displayed if we set max_vfs to a non zero value. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>