From 3df8a65389669d4a1ccc0f18d1b26687f64d89b1 Mon Sep 17 00:00:00 2001
From: Matthew Pickering <matthewtpickering@gmail.com>
Date: Fri, 25 Aug 2023 12:42:14 +0100
Subject: [PATCH] Remove redundant import in InfoTableProv

The copyBytes function is provided by the import of Foreign.

Fixes #23889
---
 compiler/GHC/StgToCmm/InfoTableProv.hs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/compiler/GHC/StgToCmm/InfoTableProv.hs b/compiler/GHC/StgToCmm/InfoTableProv.hs
index 13649becc34e..fa441104c156 100644
--- a/compiler/GHC/StgToCmm/InfoTableProv.hs
+++ b/compiler/GHC/StgToCmm/InfoTableProv.hs
@@ -6,7 +6,6 @@ import Foreign
 
 #if defined(HAVE_LIBZSTD)
 import Foreign.C.Types
-import Foreign.Marshal.Utils (copyBytes)
 import qualified Data.ByteString.Internal as BSI
 import GHC.IO (unsafePerformIO)
 #endif
-- 
GitLab