qla2xxx: Remove a superfluous test
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 9 Jul 2015 14:25:07 +0000 (07:25 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 26 Aug 2015 17:44:07 +0000 (10:44 -0700)
commit82e6afd49d9a5da8cdb648cb66e54432173298d7
treec81a982fe3428f8d5cf30ad054912734b037c7ac
parent8dfa4b5a9b44714d7710f9f452f65763629f10df
qla2xxx: Remove a superfluous test

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>
drivers/scsi/qla2xxx/qla_attr.c