This fixes the following checkpatch.pl warnings:
WARNING: else is not generally useful after a break or return
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
}
data = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]);
return data;
- } else {
- return 0xFF;
}
+ return 0xFF;
}
EXPORT_SYMBOL(stg_efuse_read_1byte);
(data[4] == 0xff) && (data[5] == 0xff) &&
(data[6] == 0xff) && (data[7] == 0xff))
return false;
- else
- return true;
+ return true;
}
static void efuse_write_data_case1(struct ieee80211_hw *hw, u16 *efuse_addr,