Could someone please tell me if this is okay/safe/sane...

I create a branch from master called BranchA. I then create a branch from BranchA called BranchB. BranchA is merged back into master. If I delete BranchA can I merge BranchB back into master safely or should I keep BranchA around and merge back into it first and then merge BranchA into master?