net/mlx5: Add a blank line after declarations
There should be a blank lines after declarations. Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com> Signed-off-by: Weihang Li <liweihang@huawei.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
parent
82c3ba31c3
commit
02f47c04c3
@ -392,11 +392,11 @@ static void arfs_may_expire_flow(struct mlx5e_priv *priv)
|
|||||||
{
|
{
|
||||||
struct arfs_rule *arfs_rule;
|
struct arfs_rule *arfs_rule;
|
||||||
struct hlist_node *htmp;
|
struct hlist_node *htmp;
|
||||||
|
HLIST_HEAD(del_list);
|
||||||
int quota = 0;
|
int quota = 0;
|
||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
HLIST_HEAD(del_list);
|
|
||||||
spin_lock_bh(&priv->fs.arfs->arfs_lock);
|
spin_lock_bh(&priv->fs.arfs->arfs_lock);
|
||||||
mlx5e_for_each_arfs_rule(arfs_rule, htmp, priv->fs.arfs->arfs_tables, i, j) {
|
mlx5e_for_each_arfs_rule(arfs_rule, htmp, priv->fs.arfs->arfs_tables, i, j) {
|
||||||
if (!work_pending(&arfs_rule->arfs_work) &&
|
if (!work_pending(&arfs_rule->arfs_work) &&
|
||||||
@ -422,10 +422,10 @@ static void arfs_del_rules(struct mlx5e_priv *priv)
|
|||||||
{
|
{
|
||||||
struct hlist_node *htmp;
|
struct hlist_node *htmp;
|
||||||
struct arfs_rule *rule;
|
struct arfs_rule *rule;
|
||||||
|
HLIST_HEAD(del_list);
|
||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
HLIST_HEAD(del_list);
|
|
||||||
spin_lock_bh(&priv->fs.arfs->arfs_lock);
|
spin_lock_bh(&priv->fs.arfs->arfs_lock);
|
||||||
mlx5e_for_each_arfs_rule(rule, htmp, priv->fs.arfs->arfs_tables, i, j) {
|
mlx5e_for_each_arfs_rule(rule, htmp, priv->fs.arfs->arfs_tables, i, j) {
|
||||||
hlist_del_init(&rule->hlist);
|
hlist_del_init(&rule->hlist);
|
||||||
|
@ -1085,6 +1085,7 @@ static int fpga_ipsec_fs_create_fte(struct mlx5_flow_root_namespace *ns,
|
|||||||
rule->ctx = mlx5_fpga_ipsec_fs_create_sa_ctx(dev, fte, is_egress);
|
rule->ctx = mlx5_fpga_ipsec_fs_create_sa_ctx(dev, fte, is_egress);
|
||||||
if (IS_ERR(rule->ctx)) {
|
if (IS_ERR(rule->ctx)) {
|
||||||
int err = PTR_ERR(rule->ctx);
|
int err = PTR_ERR(rule->ctx);
|
||||||
|
|
||||||
kfree(rule);
|
kfree(rule);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user