mbox series

[0/3] scsi: qedf: Fix an error handling path + cleanups

Message ID cover.1621765056.git.christophe.jaillet@wanadoo.fr (mailing list archive)
Headers show
Series scsi: qedf: Fix an error handling path + cleanups | expand

Message

Christophe JAILLET May 23, 2021, 11:01 a.m. UTC
Patch 1/3 fixes a case where success is un-intentionaly returned.

The 2 other patches are clean-up.
Patch 2/3 is a clean-up in the same function, to improve its readability.
Pacth 3/3 is a proposal to both remove some lines of code and improve readability.

Christophe JAILLET (3):
  scsi: qedf: Fix an error handling path in 'qedf_alloc_global_queues()'
  scsi: qedf: Simplify 'qedf_alloc_global_queues()'
  scsi: qedf: Axe a few useless lines of code

 drivers/scsi/qedf/qedf_main.c | 102 +++++++++++++---------------------
 1 file changed, 38 insertions(+), 64 deletions(-)