diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-09 11:17:41 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-10 19:55:35 -0400 |
commit | 0b7250f93f02a8aaa80146c34c08e4596f0a1e1d (patch) | |
tree | 5620a2073efd42c66e3042c0690c56e4e7757f64 /drivers/thermal/clock_cooling.c | |
parent | 0b2ce198fa3a6a0c885e888010b7278778df2dab (diff) |
scsi: dpt_i2o: remove redundant null check on array device
The null check on pHba->channel[chan].device is redundant because
device is an array and hence can never be null. Remove the check.
Detected by CoverityScan, CID#115362 ("Array compared against 0")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/thermal/clock_cooling.c')
0 files changed, 0 insertions, 0 deletions