aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2013-06-20 17:50:18 +0200
committerIngo Molnar <[email protected]>2013-06-20 17:58:57 +0200
commite12cbc10cb27fcbe51b5f68e2015138dc451a2eb (patch)
tree2c54ecd8253ead14a2ee63864b3a2a64a6e7cf69 /net/unix/sysctl_net_unix.c
parent1c10adbb929936316f71df089ace699fce037e24 (diff)
hw_breakpoint: Simplify *register_wide_hw_breakpoint()
1. register_wide_hw_breakpoint() can use unregister_ if failure, no need to duplicate the code. 2. "struct perf_event **pevent" adds the unnecesary lever of indirection and complication, use per_cpu(*cpu_events, cpu). Reported-by: Vince Weaver <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Frederic Weisbecker <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions