ath10k: remove unnecessary amsdu/ampdu assignment in debugfs
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Mon, 30 Nov 2015 16:59:39 +0000 (22:29 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 8 Dec 2015 14:50:09 +0000 (16:50 +0200)
The default values of max_num_amsdu / max_num_amdpu is assigned a
default value as part of 'ath10k_core_init_firmware_features'

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c

index 39fe4f3350aa070d36b6e43dff410a39c5cad400..2bdf5408b0d91e0a8dfba4bbc6e242590c429b8f 100644 (file)
@@ -1139,7 +1139,7 @@ static ssize_t ath10k_read_htt_max_amsdu_ampdu(struct file *file,
 {
        struct ath10k *ar = file->private_data;
        char buf[64];
-       u8 amsdu = 3, ampdu = 64;
+       u8 amsdu, ampdu;
        unsigned int len;
 
        mutex_lock(&ar->conf_mutex);