Skip to content

Commit

Permalink
drm/msm/dp: remove unneeded variable
Browse files Browse the repository at this point in the history
Remove unneeded variable used to store return value.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20211215085554.444351-1-deng.changcheng@zte.com.cn
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
  • Loading branch information
Changcheng Deng authored and Rob Clark committed Dec 16, 2021
1 parent f3d5d7c commit 7620bdf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/gpu/drm/msm/dp/dp_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,12 +416,11 @@ static int dp_display_usbpd_configure_cb(struct device *dev)

static int dp_display_usbpd_disconnect_cb(struct device *dev)
{
int rc = 0;
struct dp_display_private *dp = dev_get_dp_display_private(dev);

dp_add_event(dp, EV_USER_NOTIFICATION, false, 0);

return rc;
return 0;
}

static void dp_display_handle_video_request(struct dp_display_private *dp)
Expand Down

0 comments on commit 7620bdf

Please sign in to comment.