commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 03/75: Remove unused variables


From: Samuel Thibault
Subject: [hurd] 03/75: Remove unused variables
Date: Thu, 14 Jan 2016 01:04:01 +0000

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

sthibault pushed a commit to branch dde
in repository hurd.

commit a9eb3e9765a21f9903705e2b9f46694529af8155
Author: Justus Winter <address@hidden>
Date:   Fri Nov 6 10:39:53 2015 +0100

    Remove unused variables
    
    * console/pager.c (user_pager_init): Remove unused variables.
    * ext2fs/pager.c (create_disk_pager): Likewise.
    * fatfs/pager.c (create_fat_pager): Likewise.
    * storeio/pager.c (init_dev_paging): Likewise.
---
 console/pager.c | 1 -
 ext2fs/pager.c  | 2 --
 fatfs/pager.c   | 2 --
 storeio/pager.c | 1 -
 4 files changed, 6 deletions(-)

diff --git a/console/pager.c b/console/pager.c
index 818e49d..05074a7 100644
--- a/console/pager.c
+++ b/console/pager.c
@@ -125,7 +125,6 @@ pager_dropweak (struct user_pager_info *upi)
 void
 user_pager_init (void)
 {
-  pthread_t thread;
   error_t err;
 
   /* Create the pager bucket, and start to serve paging requests.  */
diff --git a/ext2fs/pager.c b/ext2fs/pager.c
index 3e080f8..9df7e0b 100644
--- a/ext2fs/pager.c
+++ b/ext2fs/pager.c
@@ -1200,8 +1200,6 @@ disk_cache_block_is_ref (block_t block)
 void
 create_disk_pager (void)
 {
-  pthread_t thread;
-  pthread_attr_t attr;
   error_t err;
 
   /* The disk pager.  */
diff --git a/fatfs/pager.c b/fatfs/pager.c
index d255f29..84376bd 100644
--- a/fatfs/pager.c
+++ b/fatfs/pager.c
@@ -764,8 +764,6 @@ pager_dropweak (struct user_pager_info *p __attribute__ 
((unused)))
 void
 create_fat_pager (void)
 {
-  pthread_t thread;
-  pthread_attr_t attr;
   error_t err;
 
   /* The disk pager.  */
diff --git a/storeio/pager.c b/storeio/pager.c
index f8f59cd..54b1714 100644
--- a/storeio/pager.c
+++ b/storeio/pager.c
@@ -155,7 +155,6 @@ init_dev_paging ()
       pthread_mutex_lock (&pager_global_lock);
       if (pager_port_bucket == NULL)
        {
-         pthread_t thread;
          error_t err;
 
          pager_port_bucket = ports_create_bucket ();

-- 
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]