OSDN Git Service

scsi: hpsa: remove memory allocate failure message
authorAmit Kushwaha <kushwaha.a@samsung.com>
Mon, 12 Dec 2016 11:04:21 +0000 (16:34 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 14 Dec 2016 20:33:13 +0000 (15:33 -0500)
commit7e8a9486786d5ede1d2405fab140c6a0d8b2c1fe
tree2e1cfd4c1d6b4f4e8db4f40b1b001bb436fbc7fe
parent2c9bce5b49713acba3e90ce994d60996adcd4b30
scsi: hpsa: remove memory allocate failure message

This patch cleanup warning reported by checkpatch.pl WARNING: Possible
unnecessary 'out of memory' message With no available memory, a warn on
message already gets printed by page alloc apis and modified goto use if
memory unallocated.

Signed-off-by: Amit Kushwaha <kushwaha.a@samsung.com>
Acked-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c