From: Ben Hutchings Date: Thu, 31 May 2012 23:56:22 +0000 (+0100) Subject: sfc: Work around bogus 'uninitialised variable' warning X-Git-Tag: v3.6-rc1~125^2~120^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62f8dc529c76aca43113312079299d40741407dd;p=pandora-kernel.git 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 --- Reading git-diff-tree failed