From: Laurent Pinchart Date: Fri, 11 Apr 2008 12:05:50 +0000 (+0200) Subject: fs_enet: Don't call NAPI functions when NAPI is not used. X-Git-Tag: v2.6.25~33^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a3c243d7d87f401682247dbeff94067d814c192;p=pandora-kernel.git fs_enet: Don't call NAPI functions when NAPI is not used. fs_enet_close() calls napi_disable() unconditionally. This patch skips the call when use_napi isn't set. Signed-off-by: Laurent Pinchart Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed