public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] nscd: Remove unused variable
@ 2022-03-16 18:03 Adhemerval Zanella
0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2022-03-16 18:03 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f8c26c0674235631e249a88bad71f7ab95481de5
commit f8c26c0674235631e249a88bad71f7ab95481de5
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 10 17:16:56 2022 -0300
nscd: Remove unused variable
Diff:
---
nscd/mem.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/nscd/mem.c b/nscd/mem.c
index 4523f8221c..66aa53ea01 100644
--- a/nscd/mem.c
+++ b/nscd/mem.c
@@ -218,12 +218,8 @@ gc (struct database_dyn *db)
/* Determine the highest offset. */
BITMAP_T mask = HIGHBIT;
- ref_t highref = (high * BITS - 1) * BLOCK_ALIGN;
while ((mark[high - 1] & mask) == 0)
- {
- mask >>= 1;
- highref -= BLOCK_ALIGN;
- }
+ mask >>= 1;
/* Now we can iterate over the MARK array and find bits which are not
set. These represent memory which can be recovered. */
^ permalink raw reply [flat|nested] 3+ messages in thread
* [glibc/azanella/clang] nscd: Remove unused variable
@ 2022-03-15 18:41 Adhemerval Zanella
0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2022-03-15 18:41 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6ecbe8538ec11a5bc06962e82ea6e5065283e8d3
commit 6ecbe8538ec11a5bc06962e82ea6e5065283e8d3
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 10 17:16:56 2022 -0300
nscd: Remove unused variable
Diff:
---
nscd/mem.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/nscd/mem.c b/nscd/mem.c
index 4523f8221c..66aa53ea01 100644
--- a/nscd/mem.c
+++ b/nscd/mem.c
@@ -218,12 +218,8 @@ gc (struct database_dyn *db)
/* Determine the highest offset. */
BITMAP_T mask = HIGHBIT;
- ref_t highref = (high * BITS - 1) * BLOCK_ALIGN;
while ((mark[high - 1] & mask) == 0)
- {
- mask >>= 1;
- highref -= BLOCK_ALIGN;
- }
+ mask >>= 1;
/* Now we can iterate over the MARK array and find bits which are not
set. These represent memory which can be recovered. */
^ permalink raw reply [flat|nested] 3+ messages in thread
* [glibc/azanella/clang] nscd: Remove unused variable
@ 2022-03-11 17:25 Adhemerval Zanella
0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2022-03-11 17:25 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2a9dfc33b54e7e6bb036763508e2d1ab7d83eefd
commit 2a9dfc33b54e7e6bb036763508e2d1ab7d83eefd
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 10 17:16:56 2022 -0300
nscd: Remove unused variable
Diff:
---
nscd/mem.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/nscd/mem.c b/nscd/mem.c
index 4523f8221c..66aa53ea01 100644
--- a/nscd/mem.c
+++ b/nscd/mem.c
@@ -218,12 +218,8 @@ gc (struct database_dyn *db)
/* Determine the highest offset. */
BITMAP_T mask = HIGHBIT;
- ref_t highref = (high * BITS - 1) * BLOCK_ALIGN;
while ((mark[high - 1] & mask) == 0)
- {
- mask >>= 1;
- highref -= BLOCK_ALIGN;
- }
+ mask >>= 1;
/* Now we can iterate over the MARK array and find bits which are not
set. These represent memory which can be recovered. */
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-16 18:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-16 18:03 [glibc/azanella/clang] nscd: Remove unused variable Adhemerval Zanella
-- strict thread matches above, loose matches on Subject: below --
2022-03-15 18:41 Adhemerval Zanella
2022-03-11 17:25 Adhemerval Zanella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).