]> git.karo-electronics.de Git - karo-tx-linux.git/commit
scsi: ufshcd-platform: remove the useless cast in ERR_PTR/IS_ERR
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 14 Mar 2017 12:19:36 +0000 (14:19 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 15 Mar 2017 23:03:38 +0000 (19:03 -0400)
commit645b8ef5943f95b74240568105ce2be21c6640b4
treef8f4f799ac508ea2bdf0bfb3ed7355f36ea9a0a3
parent046885251ae24b0fa1adbc5e3ca4a4bc9930c1f3
scsi: ufshcd-platform: remove the useless cast in ERR_PTR/IS_ERR

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

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd-pltfrm.c