mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-10 14:43:54 +08:00
net/mlxfw: Remove unneeded semicolon
Fixes coccicheck warning: drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c:79:2-3: Unneeded semicolon drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c:162:2-3: Unneeded semicolon Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zheng Bin <zhengbin13@huawei.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
993e8ec975
commit
10395e99f4
@ -76,7 +76,7 @@ static int mlxfw_fsm_state_err(struct mlxfw_dev *mlxfw_dev,
|
||||
case MLXFW_FSM_STATE_ERR_MAX:
|
||||
MLXFW_ERR_MSG(mlxfw_dev, extack, "unknown error", err);
|
||||
break;
|
||||
};
|
||||
}
|
||||
|
||||
return mlxfw_fsm_state_errno[fsm_state_err];
|
||||
};
|
||||
@ -159,7 +159,7 @@ mlxfw_fsm_reactivate_err(struct mlxfw_dev *mlxfw_dev,
|
||||
case MLXFW_FSM_REACTIVATE_STATUS_MAX:
|
||||
MLXFW_REACT_ERR("unexpected error", err);
|
||||
break;
|
||||
};
|
||||
}
|
||||
return -EREMOTEIO;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user