DEV: Remove redundant variable.

DEV: Remove redundant variable.

diff --git a/lib/topic_query.rb b/lib/topic_query.rb
index 7e0a7b8..4670ae6 100644
--- a/lib/topic_query.rb
+++ b/lib/topic_query.rb
@@ -951,10 +951,9 @@ class TopicQuery
   end
 
   def new_messages(params)
-    query = TopicQuery
+    TopicQuery
       .new_filter(messages_for_groups_or_user(params[:my_group_ids]), Time.at(SiteSetting.min_new_topics_time).to_datetime)
       .limit(params[:count])
-    query
   end
 
   def unread_messages(params)

GitHub sha: 5732e428