After viewing this question, I was struggling to show that $f(z)$ tends to infinity as $z$ goes to infinity, in other words, showing that infinity cannot be an essential singularity of $f$ (without using Great Picard Theorem or Poisson Integral), what I know at the moment is only that $f$ goes to infinity as $z$ is real and goes to infinity. After showing this the idea was that infinity cannot be a removable singularity by using Liouville's Theorem, which leaves us with the case of infinity being a pole, thus $f$ is a polynomial with one zero, which makes it linear as required.
Thanks