Fix errors found by cppcheck

Mismatching declarations as well as unused results.

Signed-off-by: Rosen Penev <[email protected]>
This commit is contained in:
Rosen Penev
2017-10-27 12:15:53 +02:00
committed by Felix Fietkau
parent 758376dea6
commit e7647871da
9 changed files with 13 additions and 15 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ mt76_txq_send_burst(struct mt76_dev *dev, struct mt76_queue *hwq,
struct ieee80211_txq *txq = mtxq_to_txq(mtxq);
struct ieee80211_tx_info *info;
struct mt76_wcid *wcid = mtxq->wcid;
struct sk_buff *skb = NULL;
struct sk_buff *skb;
int n_frames = 1, limit;
struct ieee80211_tx_rate tx_rate;
bool ampdu;