]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: clean up genlmsg_end uses
authorJohannes Berg <johannes.berg@intel.com>
Sat, 22 Oct 2011 17:05:51 +0000 (19:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Nov 2011 20:54:27 +0000 (15:54 -0500)
commit648e514bb1454e2cc1b18fbd7d2bba0ed9e3e3d5
treedbaebde80ff0c62f2e2e19310520ad731c2f5c3c
parent48f913a80418cb87a0892c6885023406ba7c8a64
nl80211: clean up genlmsg_end uses

genlmsg_end() cannot fail, it just returns the length
of the message. Thus, error handling for it is useless.
While removing it, I also noticed a useless variable
and removed this it as well.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c