Jelajahi Sumber

qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_fips.c

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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I022d0092980efc01f48100f9a096a6f6e80e26eb
CRs-Fixed: 2101064
Jeff Johnson 7 tahun lalu
induk
melakukan
1595095836
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      core/hdd/src/wlan_hdd_fips.c

+ 1 - 1
core/hdd/src/wlan_hdd_fips.c

@@ -169,7 +169,7 @@ static int __hdd_fips_test(struct net_device *dev,
 			  struct iw_request_info *info,
 			  union iwreq_data *wrqu, char *extra)
 {
-	hdd_adapter_t *adapter;
+	struct hdd_adapter *adapter;
 	struct hdd_context *hdd_ctx;
 	struct iw_fips_test_request *user_request;
 	struct iw_fips_test_response *user_response;