Remove categories from layered navigation Magento

1) Edit template/catalog/layer and open up view.phtml
2) Replace

<dt><?php echo $this->__($_filter->getName()) ?></dt>
<dd><?php echo $_filter->getHtml() ?></dd>
with

<?php if($_filter->getName() != “Category”){ ?>
<dt><?php echo $this->__($_filter->getName()) ?></dt>
<dd><?php echo $_filter->getHtml() ?></dd>
<?php } ?>