The variable ed_inx is being initialized with a value that is never
read and it is being updated later with a new value. The initialization
is redundant and can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200414143502.237803-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
const struct vnt_threshold *threshold = NULL;
u8 length;
u8 cr_201, cr_206;
- u8 ed_inx = priv->bb_pre_ed_index;
+ u8 ed_inx;
switch (priv->rf_type) {
case RF_AL2230: