From 2496f1c8cb1ccbe6a42a7cab2b50a1deb5ae27d5 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Mon, 14 Sep 2015 15:04:55 +0200 Subject: 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'. --- libports/inhibit-all-rpcs.c | 1 - libports/inhibit-class-rpcs.c | 2 -- 2 files changed, 3 deletions(-) (limited to 'libports') 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); -- cgit v1.2.3