forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/scsi/bnx2i/bnx2i_init.c
....@@ -73,7 +73,7 @@
7373 /**
7474 * bnx2i_identify_device - identifies NetXtreme II device type
7575 * @hba: Adapter structure pointer
76
- * @cnic: Corresponding cnic device
76
+ * @dev: Corresponding cnic device
7777 *
7878 * This function identifies the NX2 device type and sets appropriate
7979 * queue mailbox register access method, 5709 requires driver to
....@@ -473,8 +473,6 @@
473473
474474 if (sq_size && !is_power_of_2(sq_size))
475475 sq_size = roundup_pow_of_two(sq_size);
476
-
477
- mutex_init(&bnx2i_dev_lock);
478476
479477 bnx2i_scsi_xport_template =
480478 iscsi_register_transport(&bnx2i_iscsi_transport);