Many wordpress users wants to hide sub categories in their blog. To accomplish this, it is very easy task. For that you need to add this code in style.css of your theme:
Note: This hack should be work with selected theme. If it does not work then you need to either edit the core file or search with the related plugins.