summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/cds/inc/cds_sched.h5
-rw-r--r--core/cds/src/cds_sched.c2
2 files changed, 2 insertions, 5 deletions
diff --git a/core/cds/inc/cds_sched.h b/core/cds/inc/cds_sched.h
index 3b34c426a4e4..49b9f9416830 100644
--- a/core/cds/inc/cds_sched.h
+++ b/core/cds/inc/cds_sched.h
@@ -84,9 +84,9 @@
** OL Rx thread.
*/
#define CDS_MAX_OL_RX_PKT 4000
+#endif
typedef void (*cds_ol_rx_thread_cb)(void *context, void *rxpkt, uint16_t staid);
-#endif
/*
** QDF Message queue definition.
@@ -100,7 +100,6 @@ typedef struct _cds_mq_type {
} cds_mq_type, *p_cds_mq_type;
-#ifdef QCA_CONFIG_SMP
/*
** CDS message wrapper for data rx from TXRX
*/
@@ -118,7 +117,6 @@ struct cds_ol_rx_pkt {
cds_ol_rx_thread_cb callback;
};
-#endif
/*
** CDS Scheduler context
@@ -436,6 +434,7 @@ void cds_indicate_rxpkt(p_cds_sched_context pSchedContext,
static inline
struct cds_ol_rx_pkt *cds_alloc_ol_rx_pkt(p_cds_sched_context pSchedContext)
{
+ return NULL;
}
/**
diff --git a/core/cds/src/cds_sched.c b/core/cds/src/cds_sched.c
index 4208325d8d90..3a5fa03c32e1 100644
--- a/core/cds/src/cds_sched.c
+++ b/core/cds/src/cds_sched.c
@@ -94,9 +94,7 @@ static int cds_mc_thread(void *Arg);
static int cds_ol_rx_thread(void *arg);
static unsigned long affine_cpu;
static QDF_STATUS cds_alloc_ol_rx_pkt_freeq(p_cds_sched_context pSchedContext);
-#endif
-#ifdef QCA_CONFIG_SMP
#define CDS_CORE_PER_CLUSTER (4)
/*Maximum 2 clusters supported*/
#define CDS_MAX_CPU_CLUSTERS 2