On 02/08/2017 10:29 AM, Shivasharan S wrote: > fix in v2 - split patches into two. > discussed below > http://marc.info/?l=linux-scsi&m=148638999110404&w=2 > > No functional change. Code clean up. Removing error code which is not > valid scenario. > In megasas_get_request_descriptor we can remove the error handling > which is not required. > With fusion controllers, if there is a valid message frame available, > we are guaranteed to get a corresponding request descriptor. > > Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@xxxxxxxxxxxx> > Signed-off-by: Kashyap Desai <kashyap.desai@xxxxxxxxxxxx> > --- > drivers/scsi/megaraid/megaraid_sas_fusion.c | 24 ++---------------------- > 1 file changed, 2 insertions(+), 22 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@xxxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)