summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-04-06 17:21:44 +0100
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2018-05-09 14:45:46 +0300
commitf20b4f2245367e7471d844fb8685fd46f15c17db (patch)
treeb530e62a3bfb0221358613dc5dee27c292936127 /firmware
parent92980756979a9c51be0275f395f4e89c42cf199a (diff)
downloadlinux-stable-f20b4f2245367e7471d844fb8685fd46f15c17db.tar.gz
linux-stable-f20b4f2245367e7471d844fb8685fd46f15c17db.tar.bz2
linux-stable-f20b4f2245367e7471d844fb8685fd46f15c17db.zip
tpm: st33zp24: remove redundant null check on chip
Currently chip is being dereferenced by the call to dev_get_drvdata before it is being null checked, however, chip can never be null, so this check is misleading and redundant. Remove it. Detected by CoverityScan, CID#1357806 ("Dereference before null check") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Jarkko Sakkinen <jarkkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkkko.sakkinen@linux.intel.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions