From: Johannes Berg Date: Mon, 22 Dec 2014 17:56:36 +0000 (+0100) Subject: genetlink: pass only network namespace to genl_has_listeners() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~341^2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8403a2e47afb37bcd3b7e286996d138a116c39d;p=pandora-kernel.git genetlink: pass only network namespace to genl_has_listeners() There's no point to force the caller to know about the internal genl_sock to use inside struct net, just have them pass the network namespace. This doesn't really change code generation since it's an inline, but makes the caller less magic - there's never any reason to pass another socket. Signed-off-by: Johannes Berg Signed-off-by: David S. Miller --- Reading git-diff-tree failed