Commit d64cf54e authored by YueHaibing's avatar YueHaibing Committed by Michael Ellerman

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: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent e734dd63
...@@ -107,7 +107,7 @@ static int is_b_op(unsigned int op) ...@@ -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 unsigned long find_bl_target(unsigned long ip, unsigned int op)
{ {
static int offset; int offset;
offset = (op & 0x03fffffc); offset = (op & 0x03fffffc);
/* make it signed */ /* make it signed */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment