Re: [PATCH 04/16] target: remove always-true conditions

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

 



On Tue, 2014-09-02 at 17:49 -0400, Joern Engel wrote:
> Found by coverity.  InitiatorName and InitiatorAlias are static arrays
> and therefore always non-NULL.  At some point in the past they may have
> been dynamically allocated, but for current code the condition is
> useless.  If the intent was to check InitiatorName[0] instead, I cannot
> find a use for that either.  Let's get rid of it.
> 
> Signed-off-by: Joern Engel <joern@xxxxxxxxx>

Applied to target-pending/for-next.

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux