qcacld-3.0: Remove unnecessary get of global context in TXRX

Currently ol_rx_pkt_dump_call() calls cds_get_global_context() to get
the global context. At one time this was necessary since the global
context was required to get the module-specific context. However the
global context is no longer required, so remove the unnecessary
retrieval of the global context.

Change-Id: I8a2e66252bfd445151575502b06b132866a286fe
CRs-Fixed: 2102494
This commit is contained in:
Jeff Johnson 2017-08-31 10:26:42 -07:00 • committed by snandini
commit bb42a8ca1d

View file

@ -1558,12 +1558,10 @@ void ol_rx_pkt_dump_call(
uint8_t peer_id,
uint8_t status)
{
v_CONTEXT_t vos_context;
ol_txrx_pdev_handle pdev;
struct ol_txrx_peer_t *peer = NULL;
tp_ol_packetdump_cb packetdump_cb;
vos_context = cds_get_global_context();
pdev = cds_get_context(QDF_MODULE_ID_TXRX);
if (!pdev) {