Re: [PATCH] SCSI-libfc: Delete an unnecessary check before the function call fc_fcp_ddp_done

2015-06-25 Thread Vasu Dev
On Wed, 2015-06-24 at 17:54 +0200, SF Markus Elfring wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 24 Jun 2015 17:50:32 +0200 The fc_fcp_ddp_done() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed.

[PATCH] SCSI-libfc: Delete an unnecessary check before the function call fc_fcp_ddp_done

2015-06-24 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 24 Jun 2015 17:50:32 +0200 The fc_fcp_ddp_done() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.