Reverts celery/celery#8383

@Nusnus might be another potential one. unless we got a suitable solution or a non breaking change, we can defer this to v5.4.0
Revert "Fix eager tasks does not populate name field". Reverts celery/celery#8383

@Nusnus might be another potential one. unless we got a suitable solution or a non breaking change, we can defer this to v5.4.0
from kombu import Queue

from celery.utils.nodenames import worker_direct


class test_worker_direct:

    def test_returns_if_queue(self):
        q = Queue('foo')
        assert worker_direct(q) is q

from kombu import Queue

from celery.utils.nodenames import worker_direct


class test_worker_direct:

    def test_returns_if_queue(self):
        q = Queue('foo')
        assert worker_direct(q) is q
