qcacmn: Add queue.h file

Currently MCL and WIN both have there separate queue.h
files with the same declarations and definitions.
As part of cleanup create single queue.h in common
code and update the usage of existing queue.h to this
newly added queue.h.

Change-Id: Ie381c3553d6361cf7f8c97f14a91ed24e332b51a
CRs-fixed: 2505617
This commit is contained in:
Ashish Kumar Dhanotiya
2019-08-08 19:00:07 +05:30
committed by nshrivas
szülő f2f11dbf06
commit 84ac2013af
4 fájl változott, egészen pontosan 596 új sor hozzáadva és 11 régi sor törölve

Fájl megtekintése

@@ -24,11 +24,7 @@
#ifndef _I_OSDEP_H
#define _I_OSDEP_H
#ifdef CONFIG_MCL
#include <cds_queue.h>
#else
#include <sys/queue.h>
#endif
#include "queue.h"
/*
* Byte Order stuff

Fájl megtekintése

@@ -39,11 +39,8 @@
#include <linux/cache.h> /* L1_CACHE_BYTES */
#define __qdf_cache_line_sz L1_CACHE_BYTES
#if defined(CONFIG_MCL)
#include <cds_queue.h>
#else
#include <sys/queue.h>
#endif
#include "queue.h"
#else
/*
* Provide dummy defs for kernel data types, functions, and enums