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:
Houston Hoffman
2017-01-30 14:34:43 -08:00
committed by qcabuildsw
부모 72ddc02a93
커밋 aa12e04bad

파일 보기

@@ -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)
{