]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Remove a superfluous test
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 9 Jul 2015 14:25:07 +0000 (07:25 -0700)
committerDan Duval <dan.duval@oracle.com>
Thu, 15 Oct 2015 21:38:23 +0000 (17:38 -0400)
commit422c30ec3de3c38f8aa82c524bfb6a925a7678b2
treec139ada0beda0ad83986ff081d2ea85cab4042e4
parentb72e22716e80f4205d02fa2d4744628d32ec4450
qla2xxx: Remove a superfluous test

Orabug: 21946579

Avoid that smatch reports the following warning:

drivers/scsi/qla2xxx/qla_attr.c:1081: qla2x00_model_desc_show() warn: this array is probably non-NULL. 'vha->hw->model_desc'

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/scsi/qla2xxx/qla_attr.c