File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -841,11 +841,6 @@ static int sdeb_zbc_nr_conv = DEF_ZBC_NR_CONV_ZONES;
841
841
static int submit_queues = DEF_SUBMIT_QUEUES ; /* > 1 for multi-queue (mq) */
842
842
static int poll_queues ; /* iouring iopoll interface.*/
843
843
844
- static DEFINE_RWLOCK (atomic_rw );
845
- static DEFINE_RWLOCK (atomic_rw2 );
846
-
847
- static rwlock_t * ramdisk_lck_a [2 ];
848
-
849
844
static char sdebug_proc_name [] = MY_NAME ;
850
845
static const char * my_name = MY_NAME ;
851
846
@@ -6818,9 +6813,6 @@ static int __init scsi_debug_init(void)
6818
6813
int k , ret , hosts_to_add ;
6819
6814
int idx = -1 ;
6820
6815
6821
- ramdisk_lck_a [0 ] = & atomic_rw ;
6822
- ramdisk_lck_a [1 ] = & atomic_rw2 ;
6823
-
6824
6816
if (sdebug_ndelay >= 1000 * 1000 * 1000 ) {
6825
6817
pr_warn ("ndelay must be less than 1 second, ignored\n" );
6826
6818
sdebug_ndelay = 0 ;
You can’t perform that action at this time.
0 commit comments