From 48b1eb05ef1ebb01765a561b9e6e26f3cde98455 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sat, 30 Mar 2019 15:07:52 -0700 Subject: [PATCH] qcacld-3.0: Replace typedef tSirWifiRadio The Linux Coding Style enumerates a few special cases where typedefs are useful, but stresses "NEVER EVER use a typedef unless you can clearly match one of those rules." The tSirWifiRadio typedef does not meet any of those criteria, so replace it with uint32_t. Change-Id: I5f733f4a4aa07803c3719108169e6aeb98293c5e CRs-Fixed: 2427175 --- core/mac/inc/sir_api.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h index 4c49a2412b..d73ded22c0 100644 --- a/core/mac/inc/sir_api.h +++ b/core/mac/inc/sir_api.h @@ -3479,8 +3479,6 @@ typedef struct { /******************************LINK LAYER Statistics**********************/ -typedef int tSirWifiRadio; - typedef struct { uint32_t reqId; uint8_t staId; @@ -3629,7 +3627,7 @@ struct wifi_channel_stats { * @channels: per-channel statistics */ struct wifi_radio_stats { - tSirWifiRadio radio; + uint32_t radio; uint32_t on_time; uint32_t tx_time; uint32_t rx_time;