karo: tx6: remove unused code from flash.c