commit-hurd
[Top][All Lists]
Advanced

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

[gnumach] 28/56: remove preprocessor comments


From: Samuel Thibault
Subject: [gnumach] 28/56: remove preprocessor comments
Date: Sat, 28 Sep 2013 12:43:15 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository gnumach.

commit 51eb43efdaa323eca92b47be2b0b4ecec07bedb5
Author: Marin Ramesa <address@hidden>
Date:   Fri Sep 13 13:31:55 2013 +0200

    remove preprocessor comments
    
    The first one is a message that name lookup has been called, which
    I think is safe to remove, or maybe add #if DEBUG. Second one is a
    alternate calculation that I doubt it will ever be used, so I think
    it's safe to remove it.
    
    * device/dev_name.c: Remove preprocessor comments.
---
 device/dev_name.c |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/device/dev_name.c b/device/dev_name.c
index f970cf6..b560b0a 100644
--- a/device/dev_name.c
+++ b/device/dev_name.c
@@ -104,10 +104,6 @@ boolean_t dev_name_lookup(name, ops, unit)
 
        int slice_num = 0;
 
-#if 0
-       printf("lookup on name %s\n",name);
-#endif /* 0 */
-
        /*
         * Find device type name (characters before digit)
         */
@@ -184,9 +180,6 @@ boolean_t dev_name_lookup(name, ops, unit)
                 * Minor number is <subdev_count>*unit + letter.
                 * NOW it is slice result + letter
                 */
-#if 0
-               *unit = *unit * j + (c - 'a' +1);  /* +1 to start 'a' at 1 */
-#endif /* 0 */
                *unit += (c - 'a' +1);
            }
        }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/gnumach.git



reply via email to

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