Remove ham from bones and cut into cubes. Discard bones. Return ham from ham hocks to soup. Stir in cubed ham and salt; heat through. Canned beans can definitely be used in place of dried beans.
Some results have been hidden because they may be inaccessible to you