Skip to content

Commit

Permalink
Delete unused miDbe screen private private datatype
Browse files Browse the repository at this point in the history
MiDbeScreenPrivPrivRec is not used in the server. Remove it, along
with the MI_DBE_SCREEN_PRIV_PRIV macro that tried to use it.

Signed-off-by: Keith Packard <[email protected]>
Reviewed-by: Magnus.Kessler <[email protected]>
  • Loading branch information
keith-packard committed Jul 2, 2010
1 parent f0fcffe commit a94cb40
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions dbe/midbestr.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@
#define MI_DBE_WINDOW_PRIV_PRIV_FROM_WINDOW(pWin)\
MI_DBE_WINDOW_PRIV_PRIV(DBE_WINDOW_PRIV(pWin))

#define MI_DBE_SCREEN_PRIV_PRIV(pDbeScreenPriv) \
(!(pDbeScreenPriv) ? NULL : (MiDbeScreenPrivPrivPtr) \
dixLookupPrivate(&(pDbeScreenPriv)->devPrivates, miDbeScreenPrivPrivKey))


/* TYPEDEFS */

typedef struct _MiDbeWindowPrivPrivRec
Expand Down Expand Up @@ -80,16 +75,5 @@ typedef struct _MiDbeWindowPrivPrivRec

} MiDbeWindowPrivPrivRec, *MiDbeWindowPrivPrivPtr;

typedef struct _MiDbeScreenPrivPrivRec
{
/* Place machine-specific fields in here.
* Since this is mi code, we do not really have machine-specific fields.
*/

/* Pointer back to our screen private with which we are associated. */
DbeScreenPrivPtr pDbeScreenPriv;

} MiDbeScreenPrivPrivRec, *MiDbeScreenPrivPrivPtr;

#endif /* MIDBE_STRUCT_H */

0 comments on commit a94cb40

Please sign in to comment.