From: Nicholas Mc Guire Date: Wed, 4 Feb 2015 10:28:55 +0000 (-0500) Subject: staging: rtl8188eu: odm: conditional setting with no effect X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e914024d46e3de3c5c3ce9c5b77b564ad6a264c0;p=pandora-kernel.git staging: rtl8188eu: odm: conditional setting with no effect The if and the else branch code are identical - so the condition has no effect on the effective code - this patch removes the condition and the duplicated code. Due to this being a fall-through-if here - the first if condition has no effect either - so it also can be removed. struct mlme_priv is thus also no longer needed here. Signed-off-by: Nicholas Mc Guire Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed