If you do not use the Farm service (replicated deployments)
Note: Please note that EAP 4.2 and EAP 4.3 uses clustering by default and the farm service is active. The Default EAP 4.2, 4.3 configuration is production, which is a clustering configuration with farm activated. It's recommended to disable the farm service. It is also recommenced not to use the farm for deployment. Most users develop their own mechanism for distributing updates or use another commercial application to do that.
1. Remove server/$:all/farm directory
2. Remove server/$:all/deploy/deploy.last/farm-service.xml