Clean unneeded code

2 jobs for master in 8 minutes and 50 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Build
passed linux kf5-qt5 qt5.15 #107244

00:08:21

85.0%
passed reuse #107243

00:00:28