Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1313117
| From | Colin King <colin.king@canonical.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] drm/fb_cma_helper: remove duplicate const from drm_fb_cma_alloc |
| Date | 2016-01-20 12:00 +0100 |
| Message-ID | <qSYEz-5ea-19@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: Colin Ian King <colin.king@canonical.com>
Duplicated const, only one is required. Also reformat line to ensure
it is less than 80 columns wide.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/gpu/drm/drm_fb_cma_helper.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_fb_cma_helper.c b/drivers/gpu/drm/drm_fb_cma_helper.c
index c895b6f..bb88e3d 100644
--- a/drivers/gpu/drm/drm_fb_cma_helper.c
+++ b/drivers/gpu/drm/drm_fb_cma_helper.c
@@ -74,7 +74,8 @@ static struct drm_framebuffer_funcs drm_fb_cma_funcs = {
};
static struct drm_fb_cma *drm_fb_cma_alloc(struct drm_device *dev,
- const const struct drm_mode_fb_cmd2 *mode_cmd, struct drm_gem_cma_object **obj,
+ const struct drm_mode_fb_cmd2 *mode_cmd,
+ struct drm_gem_cma_object **obj,
unsigned int num_planes)
{
struct drm_fb_cma *fb_cma;
--
2.7.0.rc3
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] drm/fb_cma_helper: remove duplicate const from drm_fb_cma_alloc Colin King <colin.king@canonical.com> - 2016-01-20 12:00 +0100 Re: [PATCH] drm/fb_cma_helper: remove duplicate const from drm_fb_cma_alloc Ville Syrjälä <ville.syrjala@linux.intel.com> - 2016-01-20 14:00 +0100 Re: [PATCH] drm/fb_cma_helper: remove duplicate const from drm_fb_cma_alloc Daniel Vetter <daniel@ffwll.ch> - 2016-01-20 14:00 +0100
csiph-web