aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2023-08-22 08:48:17 +0200
committerMartin K. Petersen <[email protected]>2023-08-24 22:06:44 -0400
commit73c7881b50667f4f8322c6e1bb51624f0f4085a8 (patch)
tree9cb2438e7d5d28a7c94bdd39697aa98aca2bb80d /scripts/generate_rust_analyzer.py
parent1451455e6ffb62ff421ebc9d6da4552b02474b3a (diff)
scsi: xen-scsifront: shost_priv() can never return NULL
There is no need to check whether shost_priv() returns a non-NULL value, as the pointer returned is just an offset to the passed in parameter. While at it replace an open coded shost_priv() instance. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Juergen Gross <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions