git: e39e892969cb - stable/14 - ctl: delete dead code in the tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Sep 2025 14:24:05 UTC
The branch stable/14 has been updated by asomers: URL: https://cgit.FreeBSD.org/src/commit/?id=e39e892969cb18531fbfa152795c96e1f7da1f08 commit e39e892969cb18531fbfa152795c96e1f7da1f08 Author: Alan Somers <asomers@FreeBSD.org> AuthorDate: 2025-07-22 22:55:40 +0000 Commit: Alan Somers <asomers@FreeBSD.org> CommitDate: 2025-09-27 14:19:56 +0000 ctl: delete dead code in the tests This function has always been dead. It isn't needed, since ctladm will automatically load the module, if needed. Sponsored by: ConnectWise (cherry picked from commit d3c9f62862e4e76acec581a2e2c0aa05d7145e24) --- tests/sys/cam/ctl/ctl.subr | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/sys/cam/ctl/ctl.subr b/tests/sys/cam/ctl/ctl.subr index 5da441b806f0..6cc02d774bdb 100644 --- a/tests/sys/cam/ctl/ctl.subr +++ b/tests/sys/cam/ctl/ctl.subr @@ -25,15 +25,6 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -load_modules() { - if ! kldstat -q -m ctl; then - kldload ctl || atf_skip "could not load ctl kernel mod" - fi - if ! ctladm port -o on -p 0; then - atf_skip "could not enable the camsim frontend" - fi -} - find_device() { LUN=$1