diff --git a/tree/dataframe/inc/ROOT/RDFActionHelpers.hxx b/tree/dataframe/inc/ROOT/RDFActionHelpers.hxx
index 77c644220ff7780c0b996a11c15b02353c1ee44b..995cc96fb37ed321e9a1db77d5771adf73bd5b26 100644
--- a/tree/dataframe/inc/ROOT/RDFActionHelpers.hxx
+++ b/tree/dataframe/inc/ROOT/RDFActionHelpers.hxx
@@ -849,9 +849,8 @@ public:
    void InitTask(TTreeReader *, unsigned int) {}
 
    template <typename... Columns>
-   void Exec(unsigned int slot, Columns... columns)
+   void Exec(unsigned int, Columns... columns)
    {
-      (void) slot; // This action does not support MT.
       fDisplayerHelper->AddRow(columns...);
       if(!fDisplayerHelper->HasNext()){
          fPrevNode->StopProcessing();
diff --git a/tree/dataframe/inc/ROOT/RDFInterfaceUtils.hxx b/tree/dataframe/inc/ROOT/RDFInterfaceUtils.hxx
index 2ea46b229c83de8b5742c577c4d1977b8d035d7a..d75fb3ba3eff703a91fa03182f1e81d194327d5e 100644
--- a/tree/dataframe/inc/ROOT/RDFInterfaceUtils.hxx
+++ b/tree/dataframe/inc/ROOT/RDFInterfaceUtils.hxx
@@ -214,14 +214,12 @@ BuildAction(const ColumnNames_t &bl, const std::shared_ptr<double> &stdDeviation
 
 // Display action
 template <typename... BranchTypes, typename PrevNodeType>
-std::unique_ptr<RActionBase>
-BuildAction(const ColumnNames_t &bl, const std::shared_ptr<RDisplay> &d, const unsigned int nSlots,
-            std::shared_ptr<PrevNodeType> prevNode, ActionTags::Display,
-            RDFInternal::RBookedCustomColumns customColumns)
+std::unique_ptr<RActionBase> BuildAction(const ColumnNames_t &bl, const std::shared_ptr<RDisplay> &d,
+                                         const unsigned int, std::shared_ptr<PrevNodeType> prevNode,
+                                         ActionTags::Display, RDFInternal::RBookedCustomColumns customColumns)
 {
    using Helper_t = DisplayHelper<PrevNodeType>;
    using Action_t = RAction<Helper_t, PrevNodeType, TTraits::TypeList<BranchTypes...>>;
-   (void) nSlots; // This action does not support MT.
    return std::make_unique<Action_t>(Helper_t(d, prevNode), bl, prevNode, customColumns);
 }