store: fix linter --enable=deadcode check error (#23120)
store: fix linter --enable=deadcode check error (#23120)

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