From: Alexander Duyck Date: Thu, 9 Apr 2009 22:49:39 +0000 (+0000) Subject: igb: do not check for vf_data if we didn't enable vfs X-Git-Tag: v2.6.30-rc3~78^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ca046d57412361ac4d220b96fed7fb932616d85;p=pandora-kernel.git 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 Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed