mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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:
parent
fa7b8f2132
commit
bb42a8ca1d
1 changed files with 0 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue