summaryrefslogtreecommitdiffstats
path: root/include/video/udlfb.h
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2018-01-15 17:04:21 +0100
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-01-15 17:04:21 +0100
commit84df64956bf4d71a831a4cac5fca5b1985eba654 (patch)
treef0774956b1b1e5aca3f9435a00ab56eff3c6e635 /include/video/udlfb.h
parentvideo: udlfb: Remove unnecessary local variable (diff)
downloadlinux-84df64956bf4d71a831a4cac5fca5b1985eba654.tar.xz
linux-84df64956bf4d71a831a4cac5fca5b1985eba654.zip
video: udlfb: Remove redundant gdev variable
gdev is not really needed as the same content can be read from udev->dev. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Cc: Bernie Thompson <bernie@plugable.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'include/video/udlfb.h')
-rw-r--r--include/video/udlfb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/video/udlfb.h b/include/video/udlfb.h
index 1252a7a89bc0..7b4f567dd1fe 100644
--- a/include/video/udlfb.h
+++ b/include/video/udlfb.h
@@ -35,7 +35,6 @@ struct urb_list {
struct dlfb_data {
struct usb_device *udev;
- struct device *gdev; /* &udev->dev */
struct fb_info *info;
struct urb_list urbs;
struct kref kref;