mac80211: remove redundant initialization to pointer 'hdr'
authorColin Ian King <colin.king@canonical.com>
Fri, 2 Feb 2018 16:31:42 +0000 (16:31 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Feb 2018 12:17:23 +0000 (13:17 +0100)
commit11b05ba34d89808ca99180d2656438a319670c56
treea24952a59f9607588ff406e027597a3b1e4266b6
parentdb8d93a7a355121d49777c059afbca23c53c8628
mac80211: remove redundant initialization to pointer 'hdr'

The pointer hrd is being initialized with a value that is never read
and re-assigned a little later, hence the initialization is redundant
and can be removed.

Cleans up clang warning:
net/mac80211/tx.c:1924:24: warning: Value stored to 'hdr' during its
initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c