From 59b23ebd7fd0af3facd174e96ee4dbc1494fa215 Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Tue, 13 Jan 2015 14:07:34 +0000 Subject: [PATCH] rtlwifi/rtl8192de: remove redundant else if check The else if check condition checks for the opposite of the if check, hence the else if check is redundant and can be replaced with a simple else: if (rtlpriv->rtlhal.macphymode == SINGLEMAC_SINGLEPHY) { .. } else if (rtlpriv->rtlhal.macphymode != SINGLEMAC_SINGLEPHY) { .. } replaced with: if (rtlpriv->rtlhal.macphymode == SINGLEMAC_SINGLEPHY) { .. } else { .. } Signed-off-by: Colin Ian King Acked-by: Larry Finger Signed-off-by: Kalle Valo --- Reading git-format-patch failed