how kill rotation

i want kill bone rotation

parent : Bip01 L UpperArm

bone is rotation when upperArm rotation

I don't want to move the X Axis of bone.........

I'll be able to solve a problem is bone's rotation Conrtoller change Euler XYZ to Rotation Script

but i don't know script code

how kill bone's X Axis???