aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2022-05-21 16:16:07 -0400
committerMartin K. Petersen <[email protected]>2022-06-01 22:46:11 -0400
commite250bd2699e0e7418cd54ea2a762acfcfad43ffd (patch)
tree3680a466ef11978ab8031f4dcbea631dee9a9d48 /net/lapb/lapb_in.c
parent1fcbe4c490396c5a0d4588cfb84923ad6076b62a (diff)
scsi: qla2xxx: Remove setting of 'req' and 'rsp' parameters
cppcheck reports [drivers/scsi/qla2xxx/qla_mid.c:594]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [drivers/scsi/qla2xxx/qla_mid.c:620]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? The functions qla25xx_free_req_que() and qla25xx_free_rsp_que() are similar. They free a 'req' and a 'rsp' parameter respectively. The last statement of both functions is setting the parameter to NULL. This has no effect and can be removed. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Tom Rix <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions