A man who was arrested on suspicion of murder after one man died and another was seriously injured in a shooting in Birmingham has been released from the investigation.