Remove checks of the return value from bfd_cache_ookup()
[deliverable/binutils-gdb.git] / bfd / hppabsd-core.c
index ff88f9d2273bc69c4f4af9d80a0cb86e6ca29136..be07c78ce9296db18ee916ba12045c1d1b2d8788 100644 (file)
@@ -139,7 +139,8 @@ hppabsd_core_core_file_p (abfd)
   {
     FILE *stream = bfd_cache_lookup (abfd);
     struct stat statbuf;
-    if (stream == NULL || fstat (fileno (stream), &statbuf) < 0)
+
+    if (fstat (fileno (stream), &statbuf) < 0)
       {
        bfd_set_error (bfd_error_system_call);
        return NULL;
This page took 0.023477 seconds and 4 git commands to generate.