sfc: Refactor Falcon-arch filter removal
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 19 Nov 2012 23:08:19 +0000 (23:08 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 22 Aug 2013 18:25:58 +0000 (19:25 +0100)
commit14990a5d66b5b51a422bc46a9e8fedb20d8a770c
tree68ee21b20a185e5d6811c283ed68704614ad096b
parentadd7247718c003c8f7c275954083f7db85405bd9
sfc: Refactor Falcon-arch filter removal

Move the special case for removal of default filters from
efx_farch_filter_table_clear_entry() into a wrapper function,
efx_farch_filter_table_remove().  Move the existence and priority
checks into the latter and use it where appropriate.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/farch.c