mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacmn: noinline dp_tx_send_msdu_multiple when QDF_LOCK_STATS
When QDF_LOCK_STATS is enabled, dp_tx_send_msdu_multiple needs to not be inlined to avoid an [-Werror=maybe-uninitialized] compilation error. ": error: 'msdu_info' may be used uninitialized in this function" Change-Id: I46edc3e3f5fdc498cb31c4eab38c89f91def10ba CRs-Fixed: 2000132
This commit is contained in:
parent
72ddc02a93
commit
aa12e04bad
1 changed files with 4 additions and 0 deletions
|
|
@ -681,7 +681,11 @@ fail_return:
|
|||
* Return: NULL on success,
|
||||
* nbuf when it fails to send
|
||||
*/
|
||||
#if QDF_LOCK_STATS
|
||||
static noinline
|
||||
#else
|
||||
static
|
||||
#endif
|
||||
qdf_nbuf_t dp_tx_send_msdu_multiple(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
|
||||
struct dp_tx_msdu_info_s *msdu_info)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue