From d5b77fa06e33bdb5ef8f33c3086b686007e50a0c Mon Sep 17 00:00:00 2001 From: Abdullah Sevincer Date: Wed, 12 Oct 2022 18:50:36 -0500 Subject: [PATCH] event/dlb2: remove COS from devargs Since COS is now per port specific only and supported through port_cos in dev_args, there is no need to have a COS argument in dev_args. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 1 - drivers/event/dlb2/dlb2_priv.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c index b52ce20a4e..b200c9484e 100644 --- a/drivers/event/dlb2/dlb2.c +++ b/drivers/event/dlb2/dlb2.c @@ -4763,7 +4763,6 @@ dlb2_parse_params(const char *params, DLB2_NUM_DIR_CREDITS, DEV_ID_ARG, DLB2_QID_DEPTH_THRESH_ARG, - DLB2_COS_ARG, DLB2_POLL_INTERVAL_ARG, DLB2_SW_CREDIT_QUANTA_ARG, DLB2_HW_CREDIT_QUANTA_ARG, diff --git a/drivers/event/dlb2/dlb2_priv.h b/drivers/event/dlb2/dlb2_priv.h index fca1720504..085dcf9bdc 100644 --- a/drivers/event/dlb2/dlb2_priv.h +++ b/drivers/event/dlb2/dlb2_priv.h @@ -40,7 +40,6 @@ #define DLB2_NUM_DIR_CREDITS "num_dir_credits" #define DEV_ID_ARG "dev_id" #define DLB2_QID_DEPTH_THRESH_ARG "qid_depth_thresh" -#define DLB2_COS_ARG "cos" #define DLB2_POLL_INTERVAL_ARG "poll_interval" #define DLB2_SW_CREDIT_QUANTA_ARG "sw_credit_quanta" #define DLB2_HW_CREDIT_QUANTA_ARG "hw_credit_quanta" @@ -661,7 +660,6 @@ struct dlb2_devargs { int num_dir_credits_override; int dev_id; struct dlb2_qid_depth_thresholds qid_depth_thresholds; - enum dlb2_cos cos_id; int poll_interval; int sw_credit_quanta; int hw_credit_quanta;