]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/wireless/nl80211.c
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)
commit9c90a9f64c21b0a3983655c9c08cf98489057a43
treef880fb4dec18eb1b0d8f9c4b8ae827ee5a8cba04
parentd6d23de2786edca61fb9813ff7cdc7d2543d08a7
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