From be57469ec16b4b28cfe04c332ec80e866b3da1cc Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 27 Feb 2016 13:22:06 +0100 Subject: [PATCH] mt7603: fix uninitialized variable Signed-off-by: Felix Fietkau --- mt7603_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7603_mac.c b/mt7603_mac.c index a52c628e..46a9bca2 100644 --- a/mt7603_mac.c +++ b/mt7603_mac.c @@ -793,7 +793,7 @@ struct sk_buff * mt7603_mac_status_skb(struct mt7603_dev *dev, struct mt7603_sta *sta, int pktid) { struct mt7603_cb *cb, *tmp; - struct sk_buff *skb; + struct sk_buff *skb = NULL; list_for_each_entry_safe(cb, tmp, &dev->status_list, list) { if (sta && cb->wcid != sta->wcid.idx)