From: Ben Hutchings Date: Mon, 13 Feb 2012 23:29:16 +0000 (+0000) Subject: sfc: Skip RX end-of-batch work on channels without an RX queue X-Git-Tag: v3.4-rc1~177^2~270^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9ab70079a9730f2d748714cbe4242bc707b9eef;p=pandora-kernel.git sfc: Skip RX end-of-batch work on channels without an RX queue The code in efx_process_channel() to update the RX queue after each batch of RX completions works out as a no-op on a TX-only channel where the RX queue structure is set to all-zeroes, but (1) efx_channel_get_rx_queue() will BUG() if DEBUG is defined, and (2) it's a waste of time. Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed