powerpc64/ftrace: Drop pointless static qualifier in is_b_op()

There is no need to have the 'intoffset' variable static since new value
always be assigned before use it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
YueHaibing 2018-11-13 13:56:56 +00:00 committed by Michael Ellerman
parent e734dd63cc
commit d64cf54e89
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ static int is_b_op(unsigned int op)
static unsigned long find_bl_target(unsigned long ip, unsigned int op)
{
static int offset;
int offset;
offset = (op & 0x03fffffc);
/* make it signed */