From: Daniel Vetter Date: Mon, 23 Aug 2010 20:53:31 +0000 (+0200) Subject: drm: replace drawable ioctl by noops X-Git-Tag: v2.6.37-rc1~92^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f879194f88742d9c452f669482b6d6abdc1e1e7;p=pandora-kernel.git drm: replace drawable ioctl by noops The information supplied by userspace through these ioctls is only accessible by dev->drw_idr. But there's no in-tree user of that. Also userspace does not really care about return values of these ioctls, either. Only hw/xfree86/dri/dri.c from the xserver actually checks the return from adddraw and keeps on trying to create a kernel drawable every time somebody creates a dri drawable. But since that's now a noop, who cares. Therefore it's safe to replace these three ioctls with noops and rip out the implementation. Signed-off-by: Daniel Vetter Reviewed-by: Kristian Høgsberg Reviewed-by: Michel Dänzer Signed-off-by: Dave Airlie --- Reading git-diff-tree failed