If a master cylinder or piston shows any damage, replace them.

If a cup is worn, damaged softened (rotted), or swollen, the piston assembly should be replaced to renew the cups.
If fluid leakage is noted at the brake lever, the piston assembly should be replaced to renew the cups.
If they are damaged, replace them.
If the springs are damaged, replace them.
If the relief port becomes plugged, the brake pads will drag on the disc. Blow the ports clean with compressed air.
Front Master Cylinder [I] Rear Master Cylinder [J]

Rear Master Cylinder Installation
Brake DiscWindshield
Windshield Removal
Remove:
Bolts [A] and Washers
Windshield [B]
Windshield Installation
Be sure to install the wellnuts [A] and the washers.
Tighten:
Torque - Windshield Mounting Bolts: 1.2 N·m (0.12 kgf·m,
11 in·lb)
...
Cable Removal
Remove:
Air Cleaner Housing (see Air Cleaner Housing Removal
in the Fuel System (DFI) chapter)
Right Lower Fairing (see Lower Fairing Removal in the
Frame chapter)
Loosen the nuts [A], and slide the lower end of the clutch
cable to give the cable plenty of play.
Screw in the ...
Check 2-1: Speedometer Inspection
Using the suitable stand, raise the rear wheel off the
ground.
Rotate the rear wheel by hand or start the engine.
Check that the display changes speedometer.
If the display function does not work, check the following
parts.
Rear Wheel Rotation Sensor (see Wheel Rotation Sensor
Inspe ...