taskstats: use genl_register_family_with_ops()
authorJohannes Berg <johannes.berg@intel.com>
Thu, 14 Nov 2013 16:14:39 +0000 (17:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 22:10:40 +0000 (17:10 -0500)
commit88d36a9949513419de3a506e7fca8b82d1dc972a
treeea91ab0a7da6b3549a0559677b8cd9937006a6e7
parent1e9f3d6f1c403dd2b6270f654b4747147aa2306f
taskstats: use genl_register_family_with_ops()

This simplifies the code since there's no longer a
need to have error handling in the registration.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/taskstats.c