diff options
| author | Jeff Johnson <jjohnson@qca.qualcomm.com> | 2014-03-29 12:47:21 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-03-31 21:49:06 -0700 |
| commit | 9e96f18c169db353dc6cfe51148b66f7b7d77018 (patch) | |
| tree | ea20756df5f5450aedc77d185bccf6c17faba7f8 | |
| parent | 504a6b45f5cc905a7d5908ef96ed28c3c98d35f9 (diff) | |
wlan: qcacld: wmi: Fix unused-function warnings
When GCC 4.7 was first introduced to Android, the initial version of
the compiler was warning about things it should not have, and hence
some warnings were suppressed, including unused-function warnings.
The compiler now seems to be correctly warning only about bad
behavior, so clean up the unused functions in WMI in preparation for
re-enabling unused-function warnings in the compiler.
Change-Id: I4076cf038ab22649743cfece95ec0efa4c4babab
CRs-fixed: 640842
| -rw-r--r-- | CORE/SERVICES/WMI/wmi_unified.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CORE/SERVICES/WMI/wmi_unified.c b/CORE/SERVICES/WMI/wmi_unified.c index 6ec4fd345b65..1df884cd8c81 100644 --- a/CORE/SERVICES/WMI/wmi_unified.c +++ b/CORE/SERVICES/WMI/wmi_unified.c @@ -665,6 +665,7 @@ int wmi_unified_unregister_event_handler(wmi_unified_t wmi_handle, return 0; } +#if 0 /* currently not used */ static int wmi_unified_event_rx(struct wmi_unified *wmi_handle, wmi_buf_t evt_buf) { @@ -699,6 +700,7 @@ end: adf_nbuf_free(evt_buf); return status; } +#endif /* 0 */ /* * Temporarily added to support older WMI events. We should move all events to unified |
