aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 14:16:43 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 14:16:43 -0700
commit9b7530cc329eb036cfa589930c270e85031f554c (patch)
tree3d8fad63c228e988a65b344be42ba9e0c7ed8e56 /usr
parent1ae87786800b5e0411847974b211797b6ada63c4 (diff)
downloadkernel_samsung_tuna-9b7530cc329eb036cfa589930c270e85031f554c.zip
kernel_samsung_tuna-9b7530cc329eb036cfa589930c270e85031f554c.tar.gz
kernel_samsung_tuna-9b7530cc329eb036cfa589930c270e85031f554c.tar.bz2
i915: cleanup coding horrors in i915_gem_gtt_pwrite()
Yes, this will probably be switched over to a cleaner model anyway, but in the meantime I don't want to see the 'unused variable' warnings that come from the disgusting #ifdef code. Make the special case be a nice inlien function of its own, clean up the code, and make the warning go away. I wish people didn't write code that gets (valid) warnings from the compiler, but I'll limit my fixes to code that I actually care about (in this case just because I see the warning and it annoys me). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions