summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_memory.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-02-29 09:06:21 +0100
committerDave Airlie <airlied@redhat.com>2012-02-29 10:18:29 +0000
commit884a53ef43eb69dfd48408659b9606e581aee7ba (patch)
tree7a881927509ba03381afa26e96496354d739438e /drivers/gpu/drm/drm_memory.c
parent54e88e065ef5e89de797de0c98e50f2ed1c174db (diff)
downloadop-kernel-dev-884a53ef43eb69dfd48408659b9606e581aee7ba.zip
op-kernel-dev-884a53ef43eb69dfd48408659b9606e581aee7ba.tar.gz
drm: remove unused code
remove declared but unused functions from drmP.h, fix the comments where necessary. Also, remove drm_mem_info which is unused. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_memory.c')
-rw-r--r--drivers/gpu/drm/drm_memory.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/gpu/drm/drm_memory.c b/drivers/gpu/drm/drm_memory.c
index c8b6b66..c86a0f1 100644
--- a/drivers/gpu/drm/drm_memory.c
+++ b/drivers/gpu/drm/drm_memory.c
@@ -37,25 +37,6 @@
#include <linux/export.h>
#include "drmP.h"
-/**
- * Called when "/proc/dri/%dev%/mem" is read.
- *
- * \param buf output buffer.
- * \param start start of output data.
- * \param offset requested start offset.
- * \param len requested number of bytes.
- * \param eof whether there is no more data to return.
- * \param data private data.
- * \return number of written bytes.
- *
- * No-op.
- */
-int drm_mem_info(char *buf, char **start, off_t offset,
- int len, int *eof, void *data)
-{
- return 0;
-}
-
#if __OS_HAS_AGP
static void *agp_remap(unsigned long offset, unsigned long size,
struct drm_device * dev)
OpenPOWER on IntegriCloud