forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/scsi/snic/snic_ctl.c
....@@ -151,7 +151,7 @@
151151 /*
152152 * snic_io_exch_ver_cmpl_handler
153153 */
154
-int
154
+void
155155 snic_io_exch_ver_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq)
156156 {
157157 struct snic_req_info *rqi = NULL;
....@@ -160,7 +160,6 @@
160160 u32 cmnd_id, hid, max_sgs;
161161 ulong ctx = 0;
162162 unsigned long flags;
163
- int ret = 0;
164163
165164 SNIC_HOST_INFO(snic->shost, "Exch Ver Compl Received.\n");
166165 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx);
....@@ -224,8 +223,6 @@
224223 snic_release_untagged_req(snic, rqi);
225224
226225 SNIC_HOST_INFO(snic->shost, "Exch_cmpl Done, hdr_stat %d.\n", hdr_stat);
227
-
228
- return ret;
229226 } /* end of snic_io_exch_ver_cmpl_handler */
230227
231228 /*