Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2025 17:18:48 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d889926162b4 - main - isci: Remove dead code
Message-ID:  <202502021718.512HImEQ051557@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=d889926162b4a8575bd554416b5f1a987ce68a83

commit d889926162b4a8575bd554416b5f1a987ce68a83
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-02-02 17:18:04 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-02-02 17:18:35 +0000

    isci: Remove dead code
    
    This code hasn't compiled for years, so just remove it.
    
    PR: 229954
    Sponsored by: Netflix
---
 sys/dev/isci/scil/sci_abstract_list.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/sys/dev/isci/scil/sci_abstract_list.c b/sys/dev/isci/scil/sci_abstract_list.c
index 7c02e0b17156..1948043e2aed 100644
--- a/sys/dev/isci/scil/sci_abstract_list.c
+++ b/sys/dev/isci/scil/sci_abstract_list.c
@@ -230,13 +230,6 @@ void  sci_abstract_list_print(
 
    while (alElement_p != NULL)
    {
-#ifdef UNIT_TEST_DEBUG
-      /* Check to see if we found the object for which we are searching. */
-      printf("ITEM next_p 0x%x prev_p 0x%x obj_p 0x%x, 0x%x\n",
-             alElement_p->next_p,
-             alElement_p->previous_p,
-             (U32*) (alElement_p->object_p));
-#endif
       alElement_p = alElement_p->next_p;
    }
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502021718.512HImEQ051557>