[PATCH v3 0/3] scsi: libsas: remove empty branches and code simplification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Three patches to remove two empty branches and a little code
simplification.

v2->v3:
  1. Drop patch #3.
  2. Factor out sas_check_edge_expander_topo().
  3. Factor out sas_check_fanout_expander_topo().

v1->v2:
  1. Add blank line after declaration in sas_eeds_valid().
  2. Drop the inner-most and outter-most parenthesis in sas_eeds_valid().
  3. Break the long line in the declaration of sas_check_phy_topology().
  4. Move "else if" to the same line after "}".

Jason Yan (3):
  scsi: libsas: Simplify sas_check_eeds()
  scsi: libsas: Remove an empty branch in sas_check_parent_topology()
  scsi: libsas: factor out sas_check_fanout_expander_topo()

 drivers/scsi/libsas/sas_expander.c | 124 +++++++++++++++++------------
 1 file changed, 71 insertions(+), 53 deletions(-)

-- 
2.31.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux