]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: remove bogus genlmsg_end() error checking
authorJohannes Berg <johannes.berg@intel.com>
Tue, 4 Jun 2013 10:46:03 +0000 (12:46 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Jun 2013 10:47:08 +0000 (12:47 +0200)
commit827517ae2c06edb5604affc5704b8a2589124e7e
treef880fb4dec18eb1b0d8f9c4b8ae827ee5a8cba04
parentf3898984ecd4a9cf1560a84b2b697970655a60d7
nl80211: remove bogus genlmsg_end() error checking

genlmsg_end() can't return an error since it returns the
skb length so remove checks treating the return value as
an error code.

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