[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20141219111008.GA17968@sloth>
Date: Fri, 19 Dec 2014 12:10:08 +0100
From: Quentin Lambert <lambert.quentin@...il.com>
To: Nagalakshmi Nandigama <nagalakshmi.nandigama@...gotech.com>,
Praveen Krishnamoorthy <praveen.krishnamoorthy@...gotech.com>,
Sreekanth Reddy <sreekanth.reddy@...gotech.com>,
Abhijit Mahajan <abhijit.mahajan@...gotech.com>,
"James E.J. Bottomley" <JBottomley@...allels.com>
Cc: MPT-FusionLinux.pdl@...gotech.com, linux-scsi@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] Minor clean up in mpt2sas
The first patch merges two similar functions. Since the resulting
function is only called three times, it adds a parameter to differenciate
between the two behaviours.
The second patch proposes a simplification of the function code. The function
previously used a variable to skip through the rest of the loop. It now
uses a break statement to exit it.
The third patch simplifies an unnecesary complicated use of a boolean variable.
Quentin Lambert (3):
[SCSI] mpt2sas: Merge two similar functions
[SCSI] mpt2sas: Simplify the code of mpt2sas_scsih_tm_flag
[SCSI] mpt2sas: Remove unnecessary use of a boolean variable
drivers/scsi/mpt2sas/mpt2sas_base.c | 6 +----
drivers/scsi/mpt2sas/mpt2sas_scsih.c | 48 +++++++-----------------------------
2 files changed, 10 insertions(+), 44 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists