You can delete Ubuntu files directly.
On the openwrt,do the following:

rm /data/* -rf;sync

The Ubuntu files will be removed.