commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 20/25: console-client: Remove unused variable.


From: Samuel Thibault
Subject: [hurd] 20/25: console-client: Remove unused variable.
Date: Mon, 24 Oct 2016 00:16:45 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 2c0f4a09a5166bf777ce4648dda2d671cc464b14
Author: Justus Winter <address@hidden>
Date:   Wed Oct 5 13:59:01 2016 +0200

    console-client: Remove unused variable.
    
    * console-client/trans.c (console_setup_node): Remove 'bootstrap'.
---
 console-client/trans.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/console-client/trans.c b/console-client/trans.c
index 224229e..4b9c92b 100644
--- a/console-client/trans.c
+++ b/console-client/trans.c
@@ -865,7 +865,6 @@ console_unregister_consnode (consnode_t cn)
 error_t
 console_setup_node (char *path)
 {
-  mach_port_t bootstrap;
   error_t err;
   struct stat ul_stat;
   file_t node;
@@ -876,8 +875,7 @@ console_setup_node (char *path)
   node = file_name_lookup (path, O_CREAT|O_NOTRANS, 0664);
   if (node == MACH_PORT_NULL)
     return errno;
-  
-  task_get_bootstrap_port (mach_task_self (), &bootstrap);
+
   netfs_init ();
   
   /* Create the root node (some attributes initialized below).  */

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



reply via email to

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