guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: kernel-config: Remove redundant file-exists? check.


From: David Craven
Subject: 02/02: gnu: kernel-config: Remove redundant file-exists? check.
Date: Tue, 13 Sep 2016 20:48:43 +0000 (UTC)

dvc pushed a commit to branch master
in repository guix.

commit d6feaf6e8ffbc34f05bdff0672485416997984ec
Author: David Craven <address@hidden>
Date:   Tue Sep 13 22:45:32 2016 +0200

    gnu: kernel-config: Remove redundant file-exists? check.
    
    * gnu/packages/linux.scm (kernel-config): Remove redundant file-exists?
      check.
---
 gnu/packages/linux.scm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 8c1cbea..3ec6514 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -184,7 +184,7 @@ for ARCH and optionally VARIANT, or #f if there is no such 
configuration."
                               (if variant (string-append variant "-") "")
                               arch ".conf"))
          (file (string-append "gnu/packages/" name)))
-    (if file-exists? (search-path %load-path file) #f)))
+    (search-path %load-path file)))
 
 (define %default-extra-linux-options
   `(("CONFIG_NET_9P" . m)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]