drm/msm: remove unlikely() from WARN_ON() conditions
authorDenis Efremov <efremov@linux.com>
Thu, 29 Aug 2019 16:50:16 +0000 (19:50 +0300)
committerRob Clark <robdclark@chromium.org>
Wed, 4 Sep 2019 15:42:45 +0000 (08:42 -0700)
commitc044e86f541a20085891c41e685a4201064430b5
treeacfce2c0da342e33177a16d1a79c2badace9402b
parent5fb9b797d5ccf311ae4aba69e86080d47668b5f7
drm/msm: remove unlikely() from WARN_ON() conditions

"unlikely(WARN_ON(x))" is excessive. WARN_ON() already uses unlikely()
internally.

Signed-off-by: Denis Efremov <efremov@linux.com>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Sean Paul <sean@poorly.run>
Cc: Joe Perches <joe@perches.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c
drivers/gpu/drm/msm/disp/mdp_format.c