summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-09-14 15:04:55 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-09-22 23:55:16 +0200
commit2496f1c8cb1ccbe6a42a7cab2b50a1deb5ae27d5 (patch)
tree8e763298d0958d3d3efb7cd09b05f96b2062b597 /libports
parent737f692edbd14df39cc2d91019142bd2df2ab9ea (diff)
libports: remove unused variables
* libports/inhibit-all-rpcs.c (ports_inhibit_all_rpcs): Remove unused variable `bucket'. * libports/inhibit-class-rpcs.c (ports_inhibit_class_rpcs): Remove unused variables `pi' and `rpc'.
Diffstat (limited to 'libports')
-rw-r--r--libports/inhibit-all-rpcs.c1
-rw-r--r--libports/inhibit-class-rpcs.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/libports/inhibit-all-rpcs.c b/libports/inhibit-all-rpcs.c
index 27e2ec54..71aecf14 100644
--- a/libports/inhibit-all-rpcs.c
+++ b/libports/inhibit-all-rpcs.c
@@ -33,7 +33,6 @@ ports_inhibit_all_rpcs ()
err = EBUSY;
else
{
- struct port_bucket *bucket;
int this_one = 0;
pthread_rwlock_rdlock (&_ports_htable_lock);
diff --git a/libports/inhibit-class-rpcs.c b/libports/inhibit-class-rpcs.c
index 9a87a5ff..ed99aad7 100644
--- a/libports/inhibit-class-rpcs.c
+++ b/libports/inhibit-class-rpcs.c
@@ -32,8 +32,6 @@ ports_inhibit_class_rpcs (struct port_class *class)
err = EBUSY;
else
{
- struct port_info *pi;
- struct rpc_info *rpc;
int this_one = 0;
pthread_rwlock_rdlock (&_ports_htable_lock);