]> git.karo-electronics.de Git - linux-beck.git/commit
hpsa: do not check cmd_alloc return value - it cannnot return NULL
authorRobert Elliott <elliott@hp.com>
Thu, 23 Apr 2015 14:33:38 +0000 (09:33 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Sun, 31 May 2015 18:34:10 +0000 (11:34 -0700)
commitbf43caf316926fced73cfddad9f1b3f4251717e5
tree27f6dd9bd3d3e65f9f957ce55aeeb1ce410bc020
parentc40820d511d4c9bfc8a64f5c920fa0782f5da673
hpsa: do not check cmd_alloc return value - it cannnot return NULL

cmd_alloc can no longer return NULL, so don't check for NULL any more
(which is unreachable code).

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Hannes Reinecke <hare@Suse.de>
Signed-off-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/hpsa.c