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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */