ddl: remove useless funtion (#22865)
ddl: remove useless funtion (#22865)


kyle-wang/tidb,pingcap/tidb,c4pt0r/tidb,kyle-wang/tidb,kyle-wang/tidb,pingcap/tidb,ngaut/tidb,coocood/tidb,ngaut/tidb,c4pt0r/tidb,c4pt0r/tidb,ngaut/tidb,pingcap/tidb,ngaut/tidb,c4pt0r/tidb,coocood/tidb,pingcap/tidb,c4pt0r/tidb,kyle-wang/tidb,kyle-wang/tidb,kyle-wang/tidb,c4pt0r/tidb,pingcap/tidb,ngaut/tidb,ngaut/tidb,pingcap/tidb