diff options
author | Keith Packard <keithp@keithp.com> | 2014-10-09 15:08:31 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-10-09 15:08:31 +0200 |
commit | d634ecdf82f244ff8ce75d351fc175792d254e5c (patch) | |
tree | fba698f6ead9f73c54a76e894221270979251b5c /hw/kdrive/src | |
parent | 6622f0cb1761501f3287ffa8d3cbca3fd30f9f0c (diff) | |
parent | 7ebf480f5eb75e06271ec924769e51bdcbbdc69c (diff) |
Merge remote-tracking branch 'ajax/dead-code'
Diffstat (limited to 'hw/kdrive/src')
-rw-r--r-- | hw/kdrive/src/kdrive.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/hw/kdrive/src/kdrive.h b/hw/kdrive/src/kdrive.h index 066a13419..e1d2b5927 100644 --- a/hw/kdrive/src/kdrive.h +++ b/hw/kdrive/src/kdrive.h @@ -330,19 +330,6 @@ typedef struct _KdPointerMatrix { int matrix[2][3]; } KdPointerMatrix; -/* - * This is the only completely portable way to - * compute this info. - */ - -#ifndef BitsPerPixel -#define BitsPerPixel(d) (\ - PixmapWidthPaddingInfo[d].notPower2 ? \ - (PixmapWidthPaddingInfo[d].bytesPerPixel * 8) : \ - ((1 << PixmapWidthPaddingInfo[d].padBytesLog2) * 8 / \ - (PixmapWidthPaddingInfo[d].padRoundUp+1))) -#endif - extern DevPrivateKeyRec kdScreenPrivateKeyRec; #define kdScreenPrivateKey (&kdScreenPrivateKeyRec) |