bug-hurd
[Top][All Lists]
Advanced

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

[PATCH 2/2] remove definition of NDEVICES


From: Marin Ramesa
Subject: [PATCH 2/2] remove definition of NDEVICES
Date: Fri, 13 Sep 2013 00:27:48 +0200

NDEVICES is never used. Judging by the position and the comments
it was once used in initialization, but it's not anymore. I think
it's safe to remove it.

* device/dev_lookup.c (NDEVICES): Remove definition.

---
 device/dev_lookup.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/device/dev_lookup.c b/device/dev_lookup.c
index e156d1a..01317b9 100644
--- a/device/dev_lookup.c
+++ b/device/dev_lookup.c
@@ -362,8 +362,6 @@ dev_map(routine, port)
 /*
  * Initialization
  */
-#define        NDEVICES        256
-
 void
 dev_lookup_init()
 {
-- 
1.8.1.4




reply via email to

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