From: Frederic Weisbecker Date: Thu, 26 Nov 2009 04:35:42 +0000 (+0100) Subject: hw-breakpoints: Simplify error handling in breakpoint creation requests X-Git-Tag: v2.6.33-rc1~399^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=605bfaee9078cd0b01d83402315389839ee4bb5c;p=pandora-kernel.git hw-breakpoints: Simplify error handling in breakpoint creation requests This simplifies the error handling when we create a breakpoint. We don't need to check the NULL return value corner case anymore since we have improved perf_event_create_kernel_counter() to always return an error code in the failure case. Signed-off-by: Frederic Weisbecker Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Paul Mackerras Cc: Steven Rostedt Cc: Prasad LKML-Reference: <1259210142-5714-3-git-send-regression-fweisbec@gmail.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed