There's also a good chunk of personnel who, even in peacetime, end up injured or disabled on the job (such as my friend the CPO with a sudden heart condition) who are required by doctor's orders to not do some tiny part of their job, and then regs dictate that they just not do that job at all—so they're either honourably discharged (and now receive VA benefits), or they're kept, but desked. In a more "efficient" military, these people (who are mostly still able to do 99% of their jobs) would just have their duties adjusted, with the one part of their workload they can't handle reallocated to their peers, so they can continue converting payroll into duties performed, rather than chairs sat on.