diff --git a/app/dockview.cpp b/app/dockview.cpp
index b550816cf..c2604213f 100644
--- a/app/dockview.cpp
+++ b/app/dockview.cpp
@@ -383,10 +383,6 @@ void DockView::showConfigurationInterface(Plasma::Applet *applet)
 //! based on their alignment type and the location dock
 QRect DockView::maximumNormalGeometry()
 {
-    if (!this->screen()) {
-        return;
-    }
-
     int xPos = 0;
     int yPos = 0;
     int maxHeight = maxLength() * screen()->geometry().height();