]> Gentwo Git Trees - linux/.git/commit
scsi: bfa: Remove self-assignment code
authorQiang Liu <liuqiang@kylinos.cn>
Thu, 4 Sep 2025 09:35:58 +0000 (17:35 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 10 Sep 2025 02:57:37 +0000 (22:57 -0400)
commitfea2bfde3d52fbcfc7698c01954bee8b57d42abf
tree78039e6d785e235c24cd821c21948c08d8e3d8ad
parentd76afd8d2dc43d841b84a9f539b9f84ff79d055c
scsi: bfa: Remove self-assignment code

The variable num_cqs is of type u8 and does not require be16_to_cpu
conversion, so the redundant code is removed.

Signed-off-by: Qiang Liu <liuqiang@kylinos.cn>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bfa/bfa_core.c