aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorShin'ichiro Kawasaki <[email protected]>2023-02-14 09:50:17 +0900
committerMartin K. Petersen <[email protected]>2023-02-21 22:00:50 -0500
commiteeb270aee3e085411399f129fc14fa04bd6d83cf (patch)
treedefbf47520f6fae1b3266f0692de06fe0eaef8b0 /net/lapb/lapb_in.c
parentfb428a2005fc1260d18b989cc5199f281617f44d (diff)
scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
In the function mpi3mr_get_all_tgt_info(), devmap_info points to alltgt_info->dmi then there is no need to memcpy() data from devmap_info to alltgt_info->dmi. Remove the unnecessary memcpy(). This also allows to remove the local variable 'rval' and the goto label 'out'. Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Fixes: f5e6d5a34376 ("scsi: mpi3mr: Add support for driver commands") Signed-off-by: Shin'ichiro Kawasaki <[email protected]> Acked-by: Sathya Prakash Veerichetty <[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