android_kernel_xiaomi_sm8350/core/cdf
Ryan Hsu ceb390ceb4 qcacld-3.0: Fix compilation if MSM_PLATFORM is not enabled
This CDF_TRACE macro is declared in i_cdf_trace.h and is used
when MSM_PLATFORM is not enabled.
But the inclusion is not in the cdf_nbuf.h, so that it causes
the compilation issue, while CDF_TRACE is not found.

Since this function is used on the data path, so that the warning
is not necessary for non MSM platform.

And also refactor it to avoid compile flag inside the function.

Change-Id: I061eb35f5eee21c76fd486d378e53b35c02b5636
CRs-fixed: 966754
2016-02-08 15:50:45 -08:00
..
inc qcacld-3.0: Fix compilation if MSM_PLATFORM is not enabled 2016-02-08 15:50:45 -08:00
src qcacld-3.0: Add support for get and set OEM capability 2016-02-08 15:50:45 -08:00