what does 革去功名 mean? I am watching 天下一碗 , in this link, ChengXi says that his friend HuaQiang 革去功名

Does it mean that he got famous in a revolution or reformist group? as he got involved in a political movement? and that he will always be in trouble?

Or does it mean he lost his honor and name? and became considered a traitor?

I searched but did not find any explanation online.
http://www.cantonese.sheik.co.uk/dictionary/characters/1072/
  
  革: [3] [v] get rid of; dismiss; abolish


革 = remove (verb) 

去 = away (result complement)

功名 = scholarly honour plus official position (noun)

革去功名 means "strip away all titles and government positions