Re: [scsi] scsi: ufshcd-platform: remove the useless cast in ERR_PTR/IS_ERR

From: Martin K. Petersen
Date: Wed Mar 15 2017 - 19:05:26 EST


Tomas Winkler <tomas.winkler@xxxxxxxxx> writes:

> IS_ERR and ERR_PTR already forcefully cast their argument, hence there
> is no need for additional (complex) casting.

Applied to 4.11/scsi-fixes.

--
Martin K. Petersen Oracle Linux Engineering