git: cd89969685a4 - stable/13 - rtsx: Don't detach during shutdown

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Thu, 31 Mar 2022 01:49:14 UTC
The branch stable/13 has been updated by mav:

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

commit cd89969685a4ff1873e42617c51b448cc88ccd09
Author:     Henri Hennebert <hlh@restart.be>
AuthorDate: 2022-03-24 00:58:38 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2022-03-31 01:48:24 +0000

    rtsx: Don't detach during shutdown
    
    MFC after:      1 week
    
    (cherry picked from commit 6b7718377b8a1a3a5d3cfb98bd09dda5d55de1ed)
---
 sys/dev/rtsx/rtsx.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/dev/rtsx/rtsx.c b/sys/dev/rtsx/rtsx.c
index 466e6a864ca4..a8e0e4adeba1 100644
--- a/sys/dev/rtsx/rtsx.c
+++ b/sys/dev/rtsx/rtsx.c
@@ -3782,8 +3782,6 @@ rtsx_shutdown(device_t dev)
 	if (bootverbose)
 		device_printf(dev, "Shutdown\n");
 
-	rtsx_detach(dev);
-
 	return (0);
 }