summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Event
diff options
context:
space:
mode:
authorAndreas Voellmy <andreas.voellmy@gmail.com>2014-09-17 08:26:41 -0400
committerAndreas Voellmy <andreas.voellmy@gmail.com>2014-09-17 15:13:59 -0400
commit2622eae34aa58341e4df2a7d2d8aa7a0ee3c39eb (patch)
tree5af0a7561fa423ea23c494b8691b8dcb5d197dfd /libraries/base/GHC/Event
parentb62bd5ecf3be421778e4835010b6b334e95c5a56 (diff)
downloadhaskell-2622eae34aa58341e4df2a7d2d8aa7a0ee3c39eb.tar.gz
Remove unnecessary imports in GHC.Event.KQueue to fix compiler warnings.
Summary: The imports of Data.Monoid and Data.Maybe in GHC.Event.KQueue are unnecessary and cause validate to fail. Test Plan: Validate successfully (though I get some unrelated failures). Reviewers: austin Subscribers: simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D217
Diffstat (limited to 'libraries/base/GHC/Event')
-rw-r--r--libraries/base/GHC/Event/KQueue.hsc2
1 files changed, 0 insertions, 2 deletions
diff --git a/libraries/base/GHC/Event/KQueue.hsc b/libraries/base/GHC/Event/KQueue.hsc
index bc88855961..439765ce12 100644
--- a/libraries/base/GHC/Event/KQueue.hsc
+++ b/libraries/base/GHC/Event/KQueue.hsc
@@ -28,8 +28,6 @@ available = False
import Control.Monad (when)
import Data.Bits (Bits(..), FiniteBits(..))
-import Data.Maybe (Maybe(..))
-import Data.Monoid (Monoid(..))
import Data.Word (Word16, Word32)
import Foreign.C.Error (throwErrnoIfMinus1, eINTR, eINVAL,
eNOTSUP, getErrno, throwErrno)