Merging Bones

Hello, is there a way to merge 2 bones with their weights into one bone?