The safety cannot be removed but it CAN be disabled. You have to trim a piece of the safety bar. The bar cannot be left off the gun because it is what keeps the sear pin in place. There's a nice vid on youtube about it here:
M&P Shield Manual Safety Removal - YouTube