Remove the unused code in Adapter Disable