If you're planning to brick up the opening, the safest approach is to remove a few bricks above the frame first to confirm what's supporting the masonry. If there's no lintel and the bricks are relying on the frame, you'll need to install support before removing it.