[SCSI] qla2xxx: Remove two superfluous tests.
authorBart Van Assche <bvanassche@acm.org>
Tue, 25 Jun 2013 15:27:25 +0000 (11:27 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 8 Jul 2013 16:28:06 +0000 (17:28 +0100)
commitc5dcfaac943da1a2981e7488f74b0d4259fbb43f
tree8ebce26e22bdd784cf4904be19c031f2897d1095
parent6593d5bdbdb26d848ac5afa469cdca7abd3298df
[SCSI] qla2xxx: Remove two superfluous tests.

Since ha->model_desc is an array comparing it against NULL is
superfluous. Hence remove these tests.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_gs.c
drivers/scsi/qla2xxx/qla_os.c