diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-01-23 10:27:56 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-13 07:48:41 -0400 |
commit | 9d3de1389ba970d0d35ce6960774dc046b6dd723 (patch) | |
tree | cc028de531f18e0890b15006b8a8d505d0823164 /drivers/gpu/drm/drm_modes.c | |
parent | 55310008684309985110fdb99fa7b61c649778b2 (diff) |
drm/modes: remove drm_mode_height/width
There's a neat FIXME asking whether this is really need. I'd
say really no.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_modes.c')
-rw-r--r-- | drivers/gpu/drm/drm_modes.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index 6b7fcb655b70..ee3e969beeb1 100644 --- a/drivers/gpu/drm/drm_modes.c +++ b/drivers/gpu/drm/drm_modes.c | |||
@@ -647,41 +647,6 @@ void drm_mode_set_name(struct drm_display_mode *mode) | |||
647 | } | 647 | } |
648 | EXPORT_SYMBOL(drm_mode_set_name); | 648 | EXPORT_SYMBOL(drm_mode_set_name); |
649 | 649 | ||
650 | /** | ||
651 | * drm_mode_width - get the width of a mode | ||
652 | * @mode: mode | ||
653 | * | ||
654 | * Return @mode's width (hdisplay) value. | ||
655 | * | ||
656 | * FIXME: is this needed? | ||
657 | * | ||
658 | * RETURNS: | ||
659 | * @mode->hdisplay | ||
660 | */ | ||
661 | int drm_mode_width(const struct drm_display_mode *mode) | ||
662 | { | ||
663 | return mode->hdisplay; | ||
664 | |||
665 | } | ||
666 | EXPORT_SYMBOL(drm_mode_width); | ||
667 | |||
668 | /** | ||
669 | * drm_mode_height - get the height of a mode | ||
670 | * @mode: mode | ||
671 | * | ||
672 | * Return @mode's height (vdisplay) value. | ||
673 | * | ||
674 | * FIXME: is this needed? | ||
675 | * | ||
676 | * RETURNS: | ||
677 | * @mode->vdisplay | ||
678 | */ | ||
679 | int drm_mode_height(const struct drm_display_mode *mode) | ||
680 | { | ||
681 | return mode->vdisplay; | ||
682 | } | ||
683 | EXPORT_SYMBOL(drm_mode_height); | ||
684 | |||
685 | /** drm_mode_hsync - get the hsync of a mode | 650 | /** drm_mode_hsync - get the hsync of a mode |
686 | * @mode: mode | 651 | * @mode: mode |
687 | * | 652 | * |