aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/tx.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-06-01 00:56:22 +0100
committerBen Hutchings <bhutchings@solarflare.com>2012-07-17 16:12:29 +0100
commit62f8dc529c76aca43113312079299d40741407dd (patch)
tree2eb316d8f187ca67fe00da9175370a45271b028a /drivers/net/ethernet/sfc/tx.c
parentipv6: fix a bad cast in ip6_dst_lookup_tail() (diff)
downloadlinux-dev-62f8dc529c76aca43113312079299d40741407dd.tar.xz
linux-dev-62f8dc529c76aca43113312079299d40741407dd.zip
sfc: Work around bogus 'uninitialised variable' warning
With some gcc versions & optimisations, the compiler will warn that 'depth' in efx_filter_insert_filter() may be used without being initialised, although this is not the case. This is related to inlining of efx_filter_search(), which only has one caller since commit 8db182f4a8a6e2dcb8b65905ea4af56210e65430 ('sfc: Remove now-unused filter function'). Shut the compiler up by initialising it to 0. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/tx.c')
0 files changed, 0 insertions, 0 deletions