Removed redundant code (width = width).