]> git.baikalelectronics.ru Git - kernel.git/commit
phy: qcom-ufs: Remove unnecessary BUG_ON
authorVivek Gautam <vivek.gautam@codeaurora.org>
Tue, 8 Nov 2016 10:07:40 +0000 (15:37 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 23:05:44 +0000 (18:05 -0500)
commit7c13e92714e16f48d57fdb71bbd7ae358a795c19
tree9821fba50fca3c5349135126ace57eec3118ac5b
parent6877bbb0e523fcfb8f7eeeffb31fa80156ae55c7
phy: qcom-ufs: Remove unnecessary BUG_ON

BUG_ON() are not preferred in the driver, plus the variable
on which BUG_ON is asserted is already checked in the code
before passing.

Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/phy/phy-qcom-ufs.c