/* ubi_is_erase_work - checks whether a work is erase work. @wrk: The work object to be checked  */
int ubi_is_erase_work(struct ubi_work *wrk)
/* ubi_is_erase_work - checks whether a work is erase work. @wrk: The work object to be checked  */
int ubi_is_erase_work(struct ubi_work *wrk)
{
	return wrk->func == erase_worker;
}