hw-breakpoints: Fix unused function in off-case
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 25 Nov 2009 20:20:53 +0000 (21:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Nov 2009 09:40:51 +0000 (10:40 +0100)
commit80bbf6b641c8843b9d751a1f299aa7ee073ab9d4
treec46005b9160e6a5fba1f026918e0af2a4a758b08
parent11e6635763bdc0e24b39a38876574660755acffc
hw-breakpoints: Fix unused function in off-case

bp_perf_event_destroy() is unused in its off-case version, let's
remove it to fix the following warning reported by Stephen
Rothwell in linux-next:

  kernel/perf_event.c:4306: warning: 'bp_perf_event_destroy' defined but not used

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1259180453-5813-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c