Colin Ian King f20b4f2245 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>
2018-05-09 14:45:46 +03:00
..
2018-02-06 09:59:40 -08:00
2018-03-14 19:13:47 +01:00
2017-08-28 17:11:28 +02:00
2018-04-04 20:07:20 -07:00
2018-03-26 15:56:35 +02:00
2016-01-22 18:04:28 -05:00