Remove unused function
Remove unused function

This amends 532e8ea991cf0dede72d3f357619f49f4b36187b, which removed the
restriction that two build configurations must use different profiles.

Change-Id: Ie9536c33baa621180e398937b24132da3758e85b
Reviewed-by: Joerg Bornemann <47777b9406dbddd02a3fdca8341789a013805a11@qt.io>

qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs