powerpc: Drop return value from set_breakpoint as it is unused

None of the callers check the return value, so it might as
well not have one at all.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Paul Gortmaker
2014-04-29 15:25:16 -04:00
committed by Benjamin Herrenschmidt
parent dade934a5e
commit 04c32a5168
2 changed files with 5 additions and 5 deletions

View File

@@ -496,14 +496,14 @@ static inline int set_dawr(struct arch_hw_breakpoint *brk)
return 0;
}
int set_breakpoint(struct arch_hw_breakpoint *brk)
void set_breakpoint(struct arch_hw_breakpoint *brk)
{
__get_cpu_var(current_brk) = *brk;
if (cpu_has_feature(CPU_FTR_DAWR))
return set_dawr(brk);
return set_dabr(brk);
set_dawr(brk);
else
set_dabr(brk);
}
#ifdef CONFIG_PPC64