From: Sam Ravnborg Date: Sun, 26 May 2019 18:05:31 +0000 (+0200) Subject: drm/panel: panel-innolux: drop unused variable X-Git-Tag: v5.3-rc1~81^2~24^2~51 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=90fd6ba63a0e4e7784aaa1a1757d5a9ef8cd7bc6;p=linux.git drm/panel: panel-innolux: drop unused variable The num_supplies variable is not used, delete it. Build tested. Signed-off-by: Sam Ravnborg Reviewed-by: Linus Walleij Cc: Thierry Reding Cc: David Airlie Cc: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20190526180532.1641-2-sam@ravnborg.org --- diff --git a/drivers/gpu/drm/panel/panel-innolux-p079zca.c b/drivers/gpu/drm/panel/panel-innolux-p079zca.c index 8e5724b63f1f..959d57db0150 100644 --- a/drivers/gpu/drm/panel/panel-innolux-p079zca.c +++ b/drivers/gpu/drm/panel/panel-innolux-p079zca.c @@ -55,7 +55,6 @@ struct innolux_panel { struct backlight_device *backlight; struct regulator_bulk_data *supplies; - unsigned int num_supplies; struct gpio_desc *enable_gpio; bool prepared;