aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/debug.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2017-12-22 15:38:59 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2017-12-27 12:20:23 +0200
commite2fcf60c6fe84f9540b7420a790cdc3eb3ae47d5 (patch)
tree7a8efe0e3cfabad82d6dfce398bd55a2eede4a96 /drivers/net/wireless/ath/ath10k/debug.c
parentf25b9f285a0eff7ae5d987acfb1d2407769b67af (diff)
downloadkernel_replicant_linux-e2fcf60c6fe84f9540b7420a790cdc3eb3ae47d5.tar.gz
kernel_replicant_linux-e2fcf60c6fe84f9540b7420a790cdc3eb3ae47d5.tar.bz2
kernel_replicant_linux-e2fcf60c6fe84f9540b7420a790cdc3eb3ae47d5.zip
ath10k: detach coredump.c from debug.c
Now coredump is totally separate from debug.c and doesn't depend on CONFIG_ATH10K_DEBUGFS anymore, only on CONFIG_DEV_COREDUMP. Also remove leftovers from the removed debugfs file support. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/debug.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/debug.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c
index f8e44882439a..48788c851217 100644
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -2137,10 +2137,6 @@ static const struct file_operations fops_fw_checksums = {
int ath10k_debug_create(struct ath10k *ar)
{
- ar->debug.fw_crash_data = vzalloc(sizeof(*ar->debug.fw_crash_data));
- if (!ar->debug.fw_crash_data)
- return -ENOMEM;
-
ar->debug.cal_data = vzalloc(ATH10K_DEBUG_CAL_DATA_LEN);
if (!ar->debug.cal_data)
return -ENOMEM;
@@ -2155,9 +2151,6 @@ int ath10k_debug_create(struct ath10k *ar)
void ath10k_debug_destroy(struct ath10k *ar)
{
- vfree(ar->debug.fw_crash_data);
- ar->debug.fw_crash_data = NULL;
-
vfree(ar->debug.cal_data);
ar->debug.cal_data = NULL;