Skip to content
Commit 9a3c243d authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Jeff Garzik
Browse files

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: default avatarLaurent Pinchart <laurentp@cse-semaphore.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent c63eddb2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment